20 #ifndef PAWS_SPELLCANCEL_WINDOW_HEADER 21 #define PAWS_SPELLCANCEL_WINDOW_HEADER 40 void Start(csTicks castingTime);
48 csTicks startTime,castingTime;
A progress bar displayed when casting a spell, with a button to cancel the spell. ...
CREATE_PAWS_FACTORY(pawsSpellCancelWindow)
void Start(csTicks castingTime)
virtual void Draw()
Draws the widget and all of it's children.
virtual ~pawsSpellCancelWindow()
virtual bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
virtual bool PostSetup()
This is called after the widget and all of it's children have been created.