|
xoreos
0.0.5
|
A cursor as used in the Aurora engines. More...
#include <cursor.h>


Public Member Functions | |
| Cursor (const Common::UString &name, int hotspotX=-1, int hotspotY=-1) | |
| ~Cursor () | |
| void | render () |
| Render the cursor. More... | |
Public Member Functions inherited from Graphics::Cursor | |
| Cursor () | |
Private Member Functions | |
| void | load () |
Private Attributes | |
| Common::UString | _name |
| TextureHandle | _texture |
| int | _width |
| int | _height |
| int | _hotspotX |
| int | _hotspotY |
| Graphics::Aurora::Cursor::Cursor | ( | const Common::UString & | name, |
| int | hotspotX = -1, |
||
| int | hotspotY = -1 |
||
| ) |
Definition at line 50 of file cursor.cpp.
References load().

|
virtual |
Reimplemented from Graphics::Cursor.
Definition at line 56 of file cursor.cpp.
|
private |
Definition at line 82 of file cursor.cpp.
References _height, _hotspotX, _hotspotY, _name, _texture, _width, Common::UString::c_str(), CLIP(), Graphics::Aurora::Texture::create(), Graphics::TXI::Features::filter, Graphics::TXI::getFeatures(), GfxMan, Aurora::kFileTypeCUR, Aurora::kFileTypeDDS, Aurora::kFileTypeTGA, Aurora::kResourceCursor, Common::ScopedPtrBase< T, Deallocator >::release(), Common::ScopedPtrBase< T, Deallocator >::reset(), ResMan, and TextureMan.
Referenced by Cursor().


|
virtual |
Render the cursor.
Implements Graphics::Cursor.
Definition at line 59 of file cursor.cpp.
References _height, _hotspotX, _hotspotY, _texture, _width, CursorMan, and TextureMan.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.14