#include "events.hpp"#include "exceptions.hpp"#include "lua_jailbreak_exception.hpp"#include <boost/utility.hpp>

Go to the source code of this file.
Classes | |
| class | CVideo |
| struct | CVideo::error |
| class | CVideo::quit |
| struct | update_locker |
| class | resize_monitor |
| struct | resize_lock |
Defines | |
| #define | FULL_SCREEN SDL_FULLSCREEN |
| #define | VIDEO_MEMORY SDL_HWSURFACE |
| #define | SYSTEM_MEMORY SDL_SWSURFACE |
Functions | |
| surface | display_format_alpha (surface surf) |
| surface | get_video_surface () |
| SDL_Rect | screen_area () |
| bool | non_interactive () |
| void | update_rect (size_t x, size_t y, size_t w, size_t h) |
| void | update_rect (const SDL_Rect &rect) |
| void | update_whole_screen () |
-file util.hpp
Definition in file video.hpp.
| #define FULL_SCREEN SDL_FULLSCREEN |
Definition at line 27 of file video.hpp.
Referenced by game_controller_abstract::init_video().
Definition at line 32 of file dummy_video.cpp.
Referenced by create_optimized_surface(), and get_surface_portion().

| surface get_video_surface | ( | ) |
Definition at line 37 of file dummy_video.cpp.
Referenced by game_controller_abstract::disp(), display::display(), gui2::twindow::draw(), and display::flip().

| bool non_interactive | ( | ) |
Definition at line 213 of file video.cpp.
Referenced by playsingle_controller::check_time_over(), play_controller::check_victory(), display::display(), and playsingle_controller::play_turn().

| SDL_Rect screen_area | ( | ) |
Definition at line 235 of file video.cpp.
References gui2::create_rect().
Referenced by gui::button::calculate_size(), do_preferences_dialog(), gui2::twindow::draw(), gui::textbox::draw_contents(), draw_label(), draw_panel(), gui::menu::draw_row(), gui::dialog_frame::draw_title(), gui2::fullscreen(), 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_old(), gui2::twindow::update_screen_size(), and default_map_generator::user_config().


| void update_rect | ( | const SDL_Rect & | rect | ) |
Definition at line 28 of file dummy_video.cpp.
Referenced by gui::widget::bg_restore(), gui::menu::draw(), mp::gamebrowser::draw(), gui::widget::draw(), gui2::twindow::draw(), font::floating_label::draw(), editor::brush_bar::draw(), editor::palette_manager::draw(), gui::dialog_frame::draw_border(), draw_centered_on_background(), gui::textbox::draw_contents(), gui::progress_bar::draw_contents(), help::help_text_area::draw_contents(), gui::scrollbar::draw_contents(), gui::button::draw_contents(), display::draw_init(), display::draw_invalidated(), draw_label(), draw_panel(), loadscreen::draw_screen(), display::flip(), display::invalidate_all(), playsingle_controller::play_scenario(), editor::editor_toolkit::redraw_toolbar(), display::refresh_report(), 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(), the_end_old(), gui2::twindow::undraw(), font::floating_label::undraw(), update_rect(), and default_map_generator::user_config().

| void update_rect | ( | size_t | x, | |
| size_t | y, | |||
| size_t | w, | |||
| size_t | h | |||
| ) |
Definition at line 240 of file video.cpp.
References gui2::create_rect(), and update_rect().

| void update_whole_screen | ( | ) |
Definition at line 290 of file video.cpp.
Referenced by loadscreen::clear_screen(), mp::ui::draw_contents(), storyscreen::part_ui::render_floating_images(), storyscreen::part_ui::render_story_box(), and the_end_old().

| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:09 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |