Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/CGUI.h
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | public: | ||||
*/ | */ | ||||
void Draw(); | void Draw(); | ||||
/** | /** | ||||
* Draw GUI Sprite | * Draw GUI Sprite | ||||
* | * | ||||
* @param Sprite Object referring to the sprite (which also caches | * @param Sprite Object referring to the sprite (which also caches | ||||
* calculations for faster rendering) | * calculations for faster rendering) | ||||
* @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, const float& Z, const CRect& Rect, const CRect& Clipping = CRect()); | void DrawSprite(const CGUISpriteInstance& Sprite, const CRect& Rect, const CRect& Clipping = CRect()); | ||||
/** | /** | ||||
* 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); | ||||
▲ Show 20 Lines • Show All 568 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator