Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/CGUI.h
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | public: | ||||
* have any images with "cell-size") | * have any images with "cell-size") | ||||
* @param Z Drawing order, depth value | * @param Z Drawing order, depth value | ||||
* @param Rect Position and Size | * @param Rect Position and Size | ||||
* @param Clipping The sprite shouldn't be drawn outside this rectangle | * @param Clipping The sprite shouldn't be drawn outside this rectangle | ||||
*/ | */ | ||||
void DrawSprite(const CGUISpriteInstance& Sprite, int CellID, const float& Z, const CRect& Rect, const CRect& Clipping = CRect()); | void DrawSprite(const CGUISpriteInstance& Sprite, int CellID, const float& Z, const CRect& Rect, const CRect& Clipping = CRect()); | ||||
/** | /** | ||||
* Clean up, call this to clean up all memory allocated | |||||
* within the GUI. | |||||
*/ | |||||
void Destroy(); | |||||
/** | |||||
* The replacement of Process(), handles an SDL_Event_ | * The replacement of Process(), handles an SDL_Event_ | ||||
* | * | ||||
* @param ev SDL Event, like mouse/keyboard input | * @param ev SDL Event, like mouse/keyboard input | ||||
*/ | */ | ||||
InReaction HandleEvent(const SDL_Event_* ev); | InReaction HandleEvent(const SDL_Event_* ev); | ||||
/** | /** | ||||
* Load a GUI XML file into the GUI. | * Load a GUI XML file into the GUI. | ||||
▲ Show 20 Lines • Show All 531 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator