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
const_surface_lock Struct Reference

#include <utils.hpp>

Public Member Functions

 const_surface_lock (const surface &surf)
 
 ~const_surface_lock ()
 
const Uint32 * pixels () const
 

Private Attributes

const surfacesurface_
 
bool locked_
 

Detailed Description

Definition at line 450 of file utils.hpp.

Constructor & Destructor Documentation

const_surface_lock::const_surface_lock ( const surface surf)

Definition at line 51 of file utils.cpp.

References locked_, and surface_.

const_surface_lock::~const_surface_lock ( )

Definition at line 57 of file utils.cpp.

References locked_, and surface_.

Member Function Documentation

const Uint32* const_surface_lock::pixels ( ) const
inline

Member Data Documentation

bool const_surface_lock::locked_
private

Definition at line 458 of file utils.hpp.

Referenced by const_surface_lock(), and ~const_surface_lock().

const surface& const_surface_lock::surface_
private

Definition at line 457 of file utils.hpp.

Referenced by const_surface_lock(), pixels(), and ~const_surface_lock().


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