DIFF

class DebugMonitorSource

Constructors 1

Members 15

protected bool m_IsUsingKBM
private Widget m_WidgetRoot
Referenced by DebugMonitor(), Hide(), Init()
Show 2 more, IsVisible(), and Show()
private TextWidget m_WindowLabelText
private TextWidget m_VersionValue
Referenced by DebugMonitor(), and Init()
private TextWidget m_HealthValue
Referenced by DebugMonitor(), and SetHealth()
private TextWidget m_BloodValue
Referenced by DebugMonitor(), and SetBlood()
private TextWidget m_DmgSourceValue
Referenced by DebugMonitor(), and SetLastDamage()
private TextWidget m_MapTileValue
Referenced by DebugMonitor(), and SetPosition()
private TextWidget m_PositionValue
Referenced by DebugMonitor(), and SetPosition()
private TextWidget m_CopyPositionInfo
Referenced by DebugMonitor(), and SetPosition()
private TextWidget m_FPSValue
Referenced by DebugMonitor(), and SetFramerate()
private TextWidget m_FPSMinValue
Referenced by DebugMonitor(), and SetFramerate()
private TextWidget m_FPSMaxValue
Referenced by DebugMonitor(), and SetFramerate()
private TextWidget m_FPSAvgValue
Referenced by DebugMonitor(), and SetFramerate()
private int m_FPSTextDefaultColor

Methods 13

void SetHealth(float value)
void SetBlood(float value)
void SetLastDamage(string value)
void SetFramerate(float current, float min, float max, float avg)

Update the framerate values displayed within the debug monitor with new ones.

References SetFramerateText(), m_FPSAvgValue, m_FPSMaxValue
Show 2 more, m_FPSMinValue, and m_FPSValue
protected void SetFramerateText(TextWidget widget, float value)

Sets the provided text `widget` to display framerate `value`. Formats and colors the widget according to the value.

Referenced by SetFramerate()
string CalculateMapTile(vector pos)
Referenced by SetPosition()
int GetTileFomFraction(float fraction)
Referenced by CalculateMapTile()
void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
References m_IsUsingKBM
bool IsVisible()