surface_lock Struct Reference

#include <sdl_utils.hpp>

Collaboration diagram for surface_lock:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

surface const surface_
bool locked_


Detailed Description

Definition at line 200 of file sdl_utils.hpp.


Constructor & Destructor Documentation

surface_lock::surface_lock ( surface const &  surf  )  [inline]

Definition at line 202 of file sdl_utils.hpp.

References locked_, and surface_.

surface_lock::~surface_lock (  )  [inline]

Definition at line 212 of file sdl_utils.hpp.

References locked_, and surface_.


Member Function Documentation

Uint32* surface_lock::pixels (  )  [inline]


Member Data Documentation

Definition at line 221 of file sdl_utils.hpp.

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

bool surface_lock::locked_ [private]

Definition at line 222 of file sdl_utils.hpp.

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


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

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