The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
update_locker Struct Reference

#include <video.hpp>

Public Member Functions

 update_locker (CVideo &v, bool lock=true)
 
 ~update_locker ()
 
void unlock_update ()
 

Private Attributes

CVideovideo
 
bool unlock
 

Detailed Description

Definition at line 248 of file video.hpp.

Constructor & Destructor Documentation

update_locker::update_locker ( CVideo v,
bool  lock = true 
)
inline

Definition at line 250 of file video.hpp.

References CVideo::lock_updates(), and video.

update_locker::~update_locker ( )
inline

Definition at line 256 of file video.hpp.

References unlock_update().

Member Function Documentation

void update_locker::unlock_update ( )
inline

Definition at line 260 of file video.hpp.

References CVideo::lock_updates(), unlock, and video.

Referenced by ~update_locker().

Member Data Documentation

bool update_locker::unlock
private

Definition at line 269 of file video.hpp.

Referenced by unlock_update().

CVideo& update_locker::video
private

Definition at line 268 of file video.hpp.

Referenced by unlock_update(), and update_locker().


The documentation for this struct was generated from the following file: