#include "events.hpp"
#include "SDL.h"
#include "sdl_utils.hpp"
Go to the source code of this file.
Classes | |
class | CVideo |
struct | CVideo::error |
struct | 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 () |
Definition in file video.hpp.
#define FULL_SCREEN SDL_FULLSCREEN |
Definition at line 22 of file video.hpp.
Referenced by main(), preferences::set_fullscreen(), preferences::set_resolution(), CVideo::setMode(), and preferences::show_video_mode_dialog().
Definition at line 139 of file video.cpp.
References frameBuffer.
Referenced by create_optimized_surface().
surface get_video_surface | ( | ) |
Definition at line 149 of file video.cpp.
References frameBuffer.
Referenced by gui2::twindow::flip(), and display::flip().
bool non_interactive | ( | ) |
Definition at line 134 of file video.cpp.
Referenced by playsingle_controller::check_time_over(), check_victory(), display::display(), playsingle_controller::play_turn(), preferences::theme(), and preferences::turbo().
SDL_Rect screen_area | ( | ) |
Definition at line 154 of file video.cpp.
References frameBuffer.
Referenced by gui::button::calculate_size(), draw_background(), gui::textbox::draw_contents(), gui::menu::draw_row(), gui::dialog_frame::draw_title(), gui::menu::get_item_rect_internal(), gui::dialog_frame::layout(), gui2::load_settings(), map_editor::new_map_dialog(), map_editor::preferences_dialog(), map_editor::resize_dialog(), CVideo::set_help_string(), about::show_about(), show_intro_part_helper(), show_tooltip(), the_end(), and default_map_generator::user_config().
void update_rect | ( | const SDL_Rect & | rect | ) |
Definition at line 166 of file video.cpp.
References rect, rect_contains(), update_all, and update_rects.
void update_rect | ( | size_t | x, | |
size_t | y, | |||
size_t | w, | |||
size_t | h | |||
) |
Definition at line 160 of file video.cpp.
References rect, and update_rect().
Referenced by gui::widget::bg_restore(), gui2::twindow::draw(), gui::widget::draw(), mp::gamebrowser::draw(), gui::menu::draw(), map_editor::brush_bar::draw(), map_editor::terrain_palette::draw(), cursor::draw(), draw_background(), gui::dialog_frame::draw_border(), draw_centered_on_background(), gui::textbox::draw_contents(), gui::scrollbar::draw_contents(), gui::progress_bar::draw_contents(), help::help_text_area::draw_contents(), gui::button::draw_contents(), display::draw_init(), draw_label(), draw_panel(), display::drawing_buffer_commit(), fade_logo(), display::flip(), display::invalidate_all(), map_editor::new_map_dialog(), map_editor::preferences_dialog(), display::refresh_report(), map_editor::resize_dialog(), surface_restorer::restore(), display::scroll(), gui2::twindow::show(), about::show_about(), show_intro_part(), show_intro_part_helper(), the_end(), cursor::undraw(), map_editor::update_l_button_palette(), update_rect(), and default_map_generator::user_config().
void update_whole_screen | ( | ) |
Definition at line 229 of file video.cpp.
References update_all.
Referenced by mp::ui::draw_contents(), events::pump(), about::show_about(), show_intro_part(), gui::show_title(), and the_end().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |