afxSpellButton
Engine/source/afx/ui/afxSpellButton.h
Protected Static Attributes
Protected Attributes
Protected Functions
renderButton(GFXTexHandle & texture, Point2I & offset, const RectI & updateRect)
Public Functions
DECLARE_CATEGORY("AFX" )
char *
formatDesc(char * buffer, int len)
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when this object is added to the scene.
onDeleteNotify(SimObject * object)
Called when the mProfile or mToolTipProfile is deleted.
onMouseEnter(const GuiEvent & event)
onMouseLeave(const GuiEvent & event)
bool
onWake()
Called when this object is asked to wake up returns true if it's actually awake at the end.
setSpellBook(afxSpellBook * , U8 page)
Public Static Functions
Detailed Description
Private Types
@35
Enumerator
- NUM_COOLDOWN_FRAMES = 36
typedef GuiButtonCtrl Parent
Protected Static Attributes
StringTableEntry sSpellCooldownBitmaps
StringTableEntry sUnknownSpellBitmap
Protected Attributes
Point2I book_slot
GFXTexHandle cooldown_txrs [NUM_COOLDOWN_FRAMES]
StringTableEntry mBitmapName
GFXTexHandle mTextureDepressed
GFXTexHandle mTextureHilight
GFXTexHandle mTextureInactive
GFXTexHandle mTextureNormal
afxSpellBook * spellbook
Protected Functions
renderButton(GFXTexHandle & texture, Point2I & offset, const RectI & updateRect)
update_bitmap()
Public Functions
afxSpellButton()
~afxSpellButton()
DECLARE_CATEGORY("AFX" )
DECLARE_CONOBJECT(afxSpellButton )
formatDesc(char * buffer, int len)
getSpellDataBlock()
getSpellRPGDataBlock()
inspectPostApply()
Reimplemented from: SimObject
onAdd()
Reimplemented from: GuiControl
onDeleteNotify(SimObject * object)
Reimplemented from: GuiControl
onMouseEnter(const GuiEvent & event)
Reimplemented from: GuiControl
onMouseLeave(const GuiEvent & event)
Reimplemented from: GuiControl
onRender(Point2I offset, const RectI & updateRect)
Reimplemented from: GuiControl
onSleep()
Reimplemented from: GuiControl
onWake()
Reimplemented from: GuiControl
setBitmap(const char * name, bool placholder)
setPage(U8 page)
setSpellBook(afxSpellBook * , U8 page)