The Battle for Wesnoth  1.15.2+dev
Public Member Functions | Private Attributes | List of all members
update_locker Struct Reference

An object which will lock the display for the duration of its lifetime. More...

#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

An object which will lock the display for the duration of its lifetime.

Definition at line 279 of file video.hpp.

Constructor & Destructor Documentation

◆ update_locker()

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

Definition at line 281 of file video.hpp.

◆ ~update_locker()

update_locker::~update_locker ( )
inline

Definition at line 290 of file video.hpp.

Member Function Documentation

◆ unlock_update()

void update_locker::unlock_update ( )
inline

Definition at line 295 of file video.hpp.

Member Data Documentation

◆ unlock

bool update_locker::unlock
private

Definition at line 305 of file video.hpp.

◆ video

CVideo& update_locker::video
private

Definition at line 304 of file video.hpp.


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