afxTSCtrl

Engine/source/afx/ui/afxTSCtrl.h

More...

Classes:

Private Types

Parent 

Public Functions

advanceTime(F32 timeDelta)

This method is called once every frame regardless of the return value of isProcessingTicks and informs the object of the passage of time.

getCursor(GuiCursor *& cursor, bool & showCursor, const GuiEvent & lastGuiEvent)

Get information about the cursor.

This method is called every frame and lets the control interpolate between ticks so you can smooth things as long as isProcessingTicks returns true when it is called on the object.

onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

performTargeting(const Point2I & mousePoint, U8 mode)

This method is called once every 32ms if isProcessingTicks returns true when called on the object.

pushTargetingMode(U8 mode, U8 check)
renderWorld(const RectI & updateRect)

Subclasses can override this to perform 3D rendering.

Detailed Description

Private Types

typedef GuiTSCtrl Parent 

Private Attributes

Point3F mMouse3DPos 
Point3F mMouse3DVec 
U32 mouse_dn_timestamp 
afxSpellBook * spellbook 
Vector< Targeting > targeting_mode 

Public Functions

afxTSCtrl()

advanceTime(F32 timeDelta)

Reimplemented from: ITickable

clearTargetingMode()

DECLARE_CATEGORY("AFX" )

DECLARE_CONOBJECT(afxTSCtrl )

getCursor(GuiCursor *& cursor, bool & showCursor, const GuiEvent & lastGuiEvent)

Reimplemented from: GuiControl

getMouse3DPos()

getMouse3DVec()

getTargetingCheckMethod()

getTargetingMode()

interpolateTick(F32 delta)

Reimplemented from: ITickable

onMouseDown(const GuiEvent & )

Reimplemented from: GuiControl

onMouseDragged(const GuiEvent & )

Reimplemented from: GuiControl

onMouseEnter(const GuiEvent & )

Reimplemented from: GuiControl

onMouseLeave(const GuiEvent & )

Reimplemented from: GuiControl

onMouseMove(const GuiEvent & )

Reimplemented from: GuiControl

onMouseWheelDown(const GuiEvent & )

Reimplemented from: GuiControl

onMouseWheelUp(const GuiEvent & )

Reimplemented from: GuiControl

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

onRightMouseDown(const GuiEvent & )

Reimplemented from: GuiControl

performTargeting(const Point2I & mousePoint, U8 mode)

popTargetingMode()

processCameraQuery(CameraQuery * query)

Reimplemented from: GuiTSCtrl

processTick()

Reimplemented from: ITickable

pushTargetingMode(U8 mode, U8 check)

renderWorld(const RectI & updateRect)

Reimplemented from: GuiTSCtrl

setSpellBook(afxSpellBook * book)