Classes | Defines | Functions

video.hpp File Reference

-file util.hpp More...

#include "events.hpp"
#include "exceptions.hpp"
#include "lua_jailbreak_exception.hpp"
#include <boost/utility.hpp>
Include dependency graph for video.hpp:
This graph shows which files directly or indirectly include this file:

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 ()

Detailed Description

-file util.hpp

Definition in file video.hpp.


Define Documentation

#define FULL_SCREEN   SDL_FULLSCREEN

Definition at line 27 of file video.hpp.

Referenced by game_controller_abstract::init_video().

#define SYSTEM_MEMORY   SDL_SWSURFACE

Definition at line 29 of file video.hpp.

#define VIDEO_MEMORY   SDL_HWSURFACE

Definition at line 28 of file video.hpp.


Function Documentation

surface display_format_alpha ( surface  surf  ) 

Definition at line 32 of file dummy_video.cpp.

Referenced by create_optimized_surface(), and get_surface_portion().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

SDL_Rect screen_area (  ) 
void update_rect ( const SDL_Rect &  rect  ) 
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().

Here is the call graph for this function:

void update_whole_screen (  ) 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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