Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/ObjectTypes/CText.h
Show All 39 Lines | public: | ||||
virtual void ResetStates(); | virtual void ResetStates(); | ||||
/** | /** | ||||
* @see IGUIObject#UpdateCachedSize() | * @see IGUIObject#UpdateCachedSize() | ||||
*/ | */ | ||||
virtual void UpdateCachedSize(); | virtual void UpdateCachedSize(); | ||||
/** | /** | ||||
* Test if mouse position is over an icon | * @return the object text size. | ||||
*/ | */ | ||||
virtual bool MouseOverIcon(); | CSize2D GetTextSize(); | ||||
/** | /** | ||||
* Populate @param ret with the object's text size. | * Test if mouse position is over an icon | ||||
*/ | */ | ||||
void getTextSize(ScriptInterface& scriptInterface, JS::MutableHandleValue ret); | virtual bool MouseOverIcon(); | ||||
protected: | protected: | ||||
/** | /** | ||||
* Sets up text, should be called every time changes has been | * Sets up text, should be called every time changes has been | ||||
* made that can change the visual. | * made that can change the visual. | ||||
*/ | */ | ||||
void SetupText(); | void SetupText(); | ||||
/** | /** | ||||
Show All 35 Lines |
Wildfire Games · Phabricator