Pyrogenesis  trunk
Public Types | Public Member Functions | Private Attributes | List of all members
CVideoMode::CCursor Class Reference

Public Types

enum  CursorBackend { CursorBackend::SDL, CursorBackend::SYSTEM }
 

Public Member Functions

 CCursor ()
 
 ~CCursor ()
 
void SetCursor (const CStrW &name)
 
void ResetCursor ()
 

Private Attributes

CursorBackend m_CursorBackend = CursorBackend::SYSTEM
 
SDL_Surface * m_CursorSurface = nullptr
 
SDL_Cursor * m_Cursor = nullptr
 
CStrW m_CursorName
 

Member Enumeration Documentation

◆ CursorBackend

Enumerator
SDL 
SYSTEM 

Constructor & Destructor Documentation

◆ CCursor()

CVideoMode::CCursor::CCursor ( )

◆ ~CCursor()

CVideoMode::CCursor::~CCursor ( )

Member Function Documentation

◆ ResetCursor()

void CVideoMode::CCursor::ResetCursor ( )

◆ SetCursor()

void CVideoMode::CCursor::SetCursor ( const CStrW &  name)

Member Data Documentation

◆ m_Cursor

SDL_Cursor* CVideoMode::CCursor::m_Cursor = nullptr
private

◆ m_CursorBackend

CursorBackend CVideoMode::CCursor::m_CursorBackend = CursorBackend::SYSTEM
private

◆ m_CursorName

CStrW CVideoMode::CCursor::m_CursorName
private

◆ m_CursorSurface

SDL_Surface* CVideoMode::CCursor::m_CursorSurface = nullptr
private

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