GuiClockHud

Engine/source/T3D/fps/guiClockHud.cpp

Vary basic HUD clock.

More...

Private Types

Parent 

Public Functions

DECLARE_CATEGORY("Gui Game" )
DECLARE_DESCRIPTION("Basic HUD clock. Displays the current simulation time offset from some base." )
onRender(Point2I offset, const RectI & updateRect)

Called when this control is to render itself.

setReverseTime(F32 reverseTime)
setTime(F32 newTime)

Public Static Functions

Detailed Description

Vary basic HUD clock.

Displays the current simulation time offset from some base. The base time is usually synchronized with the server as mission start time. This hud currently only displays minutes:seconds.

Private Types

typedef GuiControl Parent 

Private Attributes

LinearColorF mFillColor 
LinearColorF mFrameColor 
bool mShowFill 
bool mShowFrame 
LinearColorF mTextColor 
S32 mTimeOffset 
bool mTimeReversed 

Public Functions

GuiClockHud()

DECLARE_CATEGORY("Gui Game" )

DECLARE_CONOBJECT(GuiClockHud )

DECLARE_DESCRIPTION("Basic HUD clock. Displays the current simulation time offset from some base." )

getTime()

onRender(Point2I offset, const RectI & updateRect)

Reimplemented from: GuiControl

setReverseTime(F32 reverseTime)

setTime(F32 newTime)

Public Static Functions

initPersistFields()