GuiClockHud
Engine/source/T3D/fps/guiClockHud.cpp
Vary basic HUD clock.
Private Types
Parent
Private Attributes
Public Functions
DECLARE_CATEGORY("Gui Game" )
DECLARE_DESCRIPTION("Basic HUD clock. Displays the current simulation time offset from some base." )
setReverseTime(F32 reverseTime)
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)