Immediate mode debug UI APIPer frame usage example: More...
Data Structures | |
class | DbgUI |
Functions | |
private void | DbgUI () |
private void | ~DbgUI () |
static proto native void | DoUnitTest () |
Creates all possible DbgUI widgets. Just for the testing purposes. | |
static proto native void | Text (string label) |
static proto native void | ColoredText (int color, string label) |
static proto void | Check (string label, out bool checked) |
static proto void | Combo (string label, out int selection, TStringArray elems) |
static proto void | List (string label, out int selection, TStringArray elems) |
static proto void | SliderFloat (string label, out float value, float min, float max, int pxWidth=150) |
static proto native void | Spacer (int height) |
static proto native void | Panel (string label, int width, int height, int color=0xaa555555) |
static proto native bool | Button (string txt, int minWidth=0) |
static proto void | InputText (string txt, out string value, int pxWidth=150) |
static proto void | InputInt (string txt, out int value, int pxWidth=150) |
static proto void | InputFloat (string txt, out float value, int pxWidth=150) |
static proto native void | PlotLive (string label, int sizeX, int sizeY, float val, int timeStep=100, int historySize=30, int color=0xFFFFFFFF) |
static proto native void | SameLine () |
static proto native void | SameSpot () |
static proto native void | PushID_Int (int int_id) |
static proto native void | PushID_Str (string str_id) |
static proto native void | PopID () |
static proto void | BeginCleanupScope () |
static proto native void | EndCleanupScope () |
static proto native void | Begin (string windowTitle, float x=0, float y=0) |
static proto native void | End () |
static bool | FloatOverride (string id, inout float value, float min, float max, int precision=1000, bool sameLine=true) |
Draw an "override" checkbox that unrolls into a slider in provided range when checked | |
Immediate mode debug UI API
Per frame usage example:
For non-per frame usage example:
Referenced by CalculateLinePointFade(), BleedingSourcesManagerBase::CleanDebug(), BleedingSourcesManagerBase::DisplayDebug(), WeaponDebug::DisplayGeneralInfo(), WeaponDebug::DisplayTargetInfo(), PluginBase::DrawDebugs(), OnGUI(), PluginBase::OnGUITimer(), MissionBase::OnUpdate(), ShowCoefsDbg(), PluginBase::ShowDebug(), Managed::ShowDebugValues(), and MissionBase::ShowHairDebugValues().
|
staticprivate |
Referenced by BleedingSourcesManagerBase::CleanDebug(), BleedingSourcesManagerBase::DisplayDebug(), OnGUI(), OnGUI_CommandsEdit(), OnGUI_Variables(), OnGUI_VariablesEdit(), PluginBase::OnGUITimer(), ShowCoefsDbg(), PluginBase::ShowDebug(), Managed::ShowDebugValues(), and MissionBase::ShowHairDebugValues().
Referenced by DbgUI::FloatOverride(), OnGUI(), OnGUI_CommandsEdit(), and OnGUI_VariablesEdit().
|
staticprivate |
|
inlineprivate |
|
staticprivate |
Creates all possible DbgUI widgets. Just for the testing purposes.
|
staticprivate |
Referenced by CalculateLinePointFade(), BleedingSourcesManagerBase::CleanDebug(), BleedingSourcesManagerBase::DisplayDebug(), WeaponDebug::DisplayGeneralInfo(), WeaponDebug::DisplayTargetInfo(), PluginBase::DrawDebugs(), OnGUI(), PluginBase::OnGUITimer(), MissionBase::OnUpdate(), ShowCoefsDbg(), PluginBase::ShowDebug(), Managed::ShowDebugValues(), and MissionBase::ShowHairDebugValues().
|
staticprivate |
Referenced by BleedingSourcesManagerBase::CleanDebug(), BleedingSourcesManagerBase::DisplayDebug(), OnGUI(), OnGUI_CommandsEdit(), OnGUI_Variables(), OnGUI_VariablesEdit(), PluginBase::OnGUITimer(), ShowCoefsDbg(), PluginBase::ShowDebug(), Managed::ShowDebugValues(), and MissionBase::ShowHairDebugValues().
|
inlinestaticprivate |
Draw an "override" checkbox that unrolls into a slider in provided range when checked
References DbgUI::Check(), DbgUI::PopID(), DbgUI::PushID_Str(), DbgUI::SameLine(), DbgUI::SameSpot(), DbgUI::SliderFloat(), DbgUI::Text(), and float::ToString().
Referenced by PluginBase::OnGUITimer().
Referenced by OnGUI().
Referenced by OnGUI_AnimEvents(), OnGUI_CommandsEdit(), OnGUI_VariablesEdit(), and PluginBase::OnGUITimer().
|
staticprivate |
|
staticprivate |
Referenced by OnGUI(), OnGUI_AnimEvents(), ShowCoefsDbg(), and PluginBase::ShowDebug().
|
staticprivate |
|
staticprivate |
Referenced by DbgUI::FloatOverride(), OnGUI_AnimEvents(), OnGUI_CommandsEdit(), OnGUI_VariablesEdit(), and PluginBase::OnGUITimer().
|
staticprivate |
Referenced by OnGUI_AnimEvents(), OnGUI_CommandsEdit(), OnGUI_VariablesEdit(), and PluginBase::OnGUITimer().
|
staticprivate |
Referenced by DbgUI::FloatOverride(), OnGUI_AnimEvents(), OnGUI_CommandsEdit(), OnGUI_VariablesEdit(), and PluginBase::OnGUITimer().
|
staticprivate |
Referenced by DbgUI::FloatOverride(), OnGUI(), OnGUI_CommandsEdit(), OnGUI_VariablesEdit(), and PluginBase::OnGUITimer().
|
staticprivate |
Referenced by DbgUI::FloatOverride().
|
staticprivate |
Referenced by DbgUI::FloatOverride().
|
staticprivate |
Referenced by OnGUI(), and ShowCoefsDbg().
|
staticprivate |
Referenced by CalculateLinePointFade(), BleedingSourcesManagerBase::DisplayDebug(), WeaponDebug::DisplayGeneralInfo(), WeaponDebug::DisplayTargetInfo(), PluginBase::DrawDebugs(), DbgUI::FloatOverride(), OnGUI(), OnGUI_AnimEvents(), OnGUI_CommandsEdit(), OnGUI_Variables(), OnGUI_VariablesEdit(), PluginBase::OnGUITimer(), MissionBase::OnUpdate(), UIScriptedMenu::SetCameraData(), ShowCoefsDbg(), PluginBase::ShowDebug(), Managed::ShowDebugValues(), and MissionBase::ShowHairDebugValues().
|
inlineprivate |