Video-testprogram, standalone. More...
#include "global.hpp"#include "font.hpp"#include "floating_label.hpp"#include "image.hpp"#include "log.hpp"#include "preferences.hpp"#include "sdl/utils.hpp"#include "sdl/rect.hpp"#include "sdl/window.hpp"#include "video.hpp"#include "sdl/gpu.hpp"#include "display.hpp"#include <vector>#include <map>#include <algorithm>#include <assert.h>
Go to the source code of this file.
Namespaces | |
| video2 | |
Macros | |
| #define | LOG_DP LOG_STREAM(info, log_display) |
| #define | ERR_DP LOG_STREAM(err, log_display) |
Functions | |
| static unsigned int | get_flags (unsigned int flags) |
| void | video2::trigger_full_redraw () |
| surface & | get_video_surface () |
| SDL_Rect | screen_area () |
| void | update_rect (size_t x, size_t y, size_t w, size_t h) |
| void | update_rect (const SDL_Rect &rect_value) |
| static int | sdl_display_index (sdl::twindow *window) |
Variables | |
| static lg::log_domain | log_display ("display") |
| std::list< events::sdl_handler * > | video2::draw_layers |
Video-testprogram, standalone.
Definition in file video.cpp.
| #define ERR_DP LOG_STREAM(err, log_display) |
Definition at line 42 of file video.cpp.
Referenced by CVideo::initSDL().
| #define LOG_DP LOG_STREAM(info, log_display) |
Definition at line 41 of file video.cpp.
Referenced by CVideo::~CVideo().
Definition at line 52 of file video.cpp.
Referenced by CVideo::init_window().
| surface& get_video_surface | ( | ) |
Definition at line 130 of file video.cpp.
References dummy_screen_surface.
| SDL_Rect screen_area | ( | ) |
Definition at line 135 of file video.cpp.
References sdl::create_rect().
Referenced by gui::button::calculate_size(), do_preferences_dialog(), gui2::twindow::draw(), gui::textbox::draw_contents(), gui::menu::draw_row(), gui::dialog_frame::draw_title(), gui::menu::get_item_rect_internal(), gui::dialog_frame::layout(), controller_base::play_slice(), storyscreen::part_ui::render_story_box(), storyscreen::part_ui::render_story_box_borders(), show_tooltip(), the_end(), gui2::twindow::update_screen_size(), and default_map_generator::user_config().
|
static |
Definition at line 568 of file video.cpp.
Referenced by CVideo::get_available_resolutions().
| void update_rect | ( | size_t | x, |
| size_t | y, | ||
| size_t | w, | ||
| size_t | h | ||
| ) |
Definition at line 140 of file video.cpp.
References sdl::create_rect(), and update_rect().
Referenced by update_rect().
|
static |
1.8.8