#include <sdlcursormanager.hpp>
|
typedef std::map< std::string,
SDL_Cursor * > | CursorMap |
|
SDLUtil::SDLCursorManager::SDLCursorManager |
( |
| ) |
|
SDLUtil::SDLCursorManager::~SDLCursorManager |
( |
| ) |
|
|
virtual |
void SDLUtil::SDLCursorManager::_createCursorFromResource |
( |
const std::string & |
name, |
|
|
int |
rotDegrees, |
|
|
osg::Image * |
image, |
|
|
Uint8 |
hotspot_x, |
|
|
Uint8 |
hotspot_y |
|
) |
| |
|
private |
void SDLUtil::SDLCursorManager::_putPixel |
( |
SDL_Surface * |
surface, |
|
|
int |
x, |
|
|
int |
y, |
|
|
Uint32 |
pixel |
|
) |
| |
|
private |
void SDLUtil::SDLCursorManager::_setGUICursor |
( |
const std::string & |
name | ) |
|
|
private |
void SDLUtil::SDLCursorManager::createCursor |
( |
const std::string & |
name, |
|
|
int |
rotDegrees, |
|
|
osg::Image * |
image, |
|
|
Uint8 |
hotspot_x, |
|
|
Uint8 |
hotspot_y |
|
) |
| |
|
virtual |
void SDLUtil::SDLCursorManager::cursorChanged |
( |
const std::string & |
name | ) |
|
|
virtual |
Tell the manager that the cursor has changed, giving the name of the cursor we changed to ("arrow", "ibeam", etc)
void SDLUtil::SDLCursorManager::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
sets whether to actively manage cursors or not
std::string SDLUtil::SDLCursorManager::mCurrentCursor |
|
private |
CursorMap SDLUtil::SDLCursorManager::mCursorMap |
|
private |
bool SDLUtil::SDLCursorManager::mEnabled |
|
private |
bool SDLUtil::SDLCursorManager::mInitialized |
|
private |
The documentation for this class was generated from the following files: