video.hpp File Reference

-file util.hpp More...

#include "events.hpp"
#include "SDL.h"
#include "sdl_utils.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
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 ()


Detailed Description

-file util.hpp

Definition in file video.hpp.


Define Documentation

#define FULL_SCREEN   SDL_FULLSCREEN

#define SYSTEM_MEMORY   SDL_SWSURFACE

Definition at line 24 of file video.hpp.

#define VIDEO_MEMORY   SDL_HWSURFACE

Definition at line 23 of file video.hpp.


Function Documentation

surface display_format_alpha ( surface  surf  ) 

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

SDL_Rect screen_area (  ) 

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 
)

void update_whole_screen (  ) 


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs