#include "events.hpp"
#include "exceptions.hpp"
#include "lua_jailbreak_exception.hpp"
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#include "sdl/window.hpp"
Go to the source code of this file.
Classes | |
class | CVideo |
struct | CVideo::error |
class | CVideo::quit |
class | CVideo::video_event_handler |
struct | update_locker |
class | video2::draw_layering |
Namespaces | |
video2 | |
Macros | |
#define | SDL_APPMOUSEFOCUS 0x01 |
The app has mouse coverage. More... | |
#define | SDL_APPINPUTFOCUS 0x02 |
The app has input focus. More... | |
#define | SDL_APPACTIVE 0x04 |
The application is active. More... | |
Functions | |
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) |
void | video2::trigger_full_redraw () |
#define SDL_APPACTIVE 0x04 |
The application is active.
Definition at line 40 of file video.hpp.
Referenced by controller_base::play_slice(), and CVideo::window_state().
#define SDL_APPINPUTFOCUS 0x02 |
The app has input focus.
Definition at line 39 of file video.hpp.
Referenced by CVideo::window_state().
#define SDL_APPMOUSEFOCUS 0x01 |
The app has mouse coverage.
Definition at line 38 of file video.hpp.
Referenced by controller_base::handle_scroll(), and CVideo::window_state().
surface& get_video_surface | ( | ) |
Definition at line 36 of file dummy_video.cpp.
References dummy_screen_surface.
Referenced by gui2::tcanvas::blit(), display::display(), gui2::twindow::draw(), and display::flip().
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().
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().
void update_rect | ( | const SDL_Rect & | rect | ) |
Definition at line 27 of file dummy_video.cpp.
Referenced by gui::widget::bg_restore(), font::floating_label::draw(), gui::widget::draw(), mp::gamebrowser::draw(), gui2::twindow::draw(), gui::menu::draw(), gui::dialog_frame::draw_border(), draw_centered_on_background(), gui::progress_bar::draw_contents(), editor::location_palette::draw_contents(), gui::textbox::draw_contents(), gui::button::draw_contents(), editor::editor_palette< Item >::draw_contents(), gui::tristate_button::draw_contents(), gui::scrollbar::draw_contents(), help::help_text_area::draw_contents(), display::draw_init(), display::draw_invalidated(), draw_label(), mp::create::draw_level_image(), draw_panel(), display::flip(), display::invalidate_all(), playsingle_controller::play_scenario(), display::refresh_report(), halo::halo_impl::effect::render(), storyscreen::part_ui::render_floating_images(), storyscreen::part_ui::render_story_box(), storyscreen::part_ui::render_title_box(), surface_restorer::restore(), display::scroll(), gui2::twindow::show(), about::show_about(), the_end(), font::floating_label::undraw(), gui2::twindow::undraw(), halo::halo_impl::effect::unrender(), and default_map_generator::user_config().