The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | 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 <boost/scoped_ptr.hpp>
#include "sdl/window.hpp"
Include dependency graph for video.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

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

Detailed Description

-file util.hpp

Definition in file video.hpp.

Macro Definition Documentation

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

Function Documentation

surface& get_video_surface ( )
SDL_Rect screen_area ( )
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)