wGui::CCursorResourceHandle Class Reference

CCursorResourceHandle is a resource handle for mouse cursors. More...

#include <wg_resource_handle.h>

Inheritance diagram for wGui::CCursorResourceHandle:

wGui::CResourceHandle wGui::CwgCursorResourceHandle

Public Member Functions

Static Protected Attributes


Detailed Description

CCursorResourceHandle is a resource handle for mouse cursors.

Definition at line 166 of file wg_resource_handle.h.


Constructor & Destructor Documentation

wGui::CCursorResourceHandle::CCursorResourceHandle ( TResourceId  resId  )  [inline]

CCursorResourceHandles must be instantiated with a valid resource ID

Parameters:
resId The ID of the resource which the handle will represent

Definition at line 171 of file wg_resource_handle.h.

wGui::CCursorResourceHandle::CCursorResourceHandle ( const CCursorResourceHandle resHandle  )  [inline]

A copying constructor

Parameters:
resHandle An existing resource handle that will be cloned

Definition at line 175 of file wg_resource_handle.h.


Member Function Documentation

SDL_Cursor * wGui::CCursorResourceHandle::Cursor ( void   )  const

Returns the SDL Cursor pointer

Returns:
A pointer to an SDL cursor object

Definition at line 136 of file wg_resource_handle.cpp.

References wGui::CResourceHandle::m_ResourceId, and m_SDLCursorMap.


The documentation for this class was generated from the following files:
Generated on Wed May 16 23:11:28 2007 for wGui by  doxygen 1.5.1