|
CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
|
#include <th_gfx_sdl.h>
Public Member Functions | |
| cursor ()=default | |
| ~cursor () | |
| bool | create_from_sprite (sprite_sheet *pSheet, size_t iSprite, int iHotspotX=0, int iHotspotY=0) |
| void | use (render_target *pTarget) |
| void | draw (render_target *pCanvas, int iX, int iY) |
Static Public Member Functions | |
| static bool | set_position (render_target *pTarget, int iX, int iY) |
|
default |
| cursor::~cursor | ( | ) |
| bool cursor::create_from_sprite | ( | sprite_sheet * | pSheet, |
| size_t | iSprite, | ||
| int | iHotspotX = 0, |
||
| int | iHotspotY = 0 |
||
| ) |
| void cursor::draw | ( | render_target * | pCanvas, |
| int | iX, | ||
| int | iY | ||
| ) |
|
static |
| void cursor::use | ( | render_target * | pTarget | ) |