Data Structures | |
class | UIScriptedMenu |
class | JsonHintsData |
Functions | |
void | OnWidgetScriptInit (Widget w) |
override bool | OnMouseEnter (Widget w, int x, int y) |
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
protected bool | Tick () |
protected void | DisplayHint (string message) |
protected void | HideHint () |
protected string | GetMessage () |
protected void | HoverSuccess () |
protected void | HoverInterrupt () |
Variables | |
class ScriptConsole extends UIScriptedMenu | HintMessage |
protected Widget | m_Root |
protected float | m_HoverTime |
protected bool | m_HoverSuccessTriggered |
protected Widget | m_CurrentHoverWidget |
protected Widget | m_HintWidgetRoot |
protected ImageWidget | m_HintWidgetBackground |
protected RichTextWidget | m_HintWidget |
protected ref Timer | m_Timer |
protected void DisplayHint | ( | string | message | ) |
References WorkspaceWidget::CreateWidgets(), GetGame(), GetMousePos(), GetScreenSize(), CGame::GetWorkspace(), m_HintWidget, m_HintWidgetBackground, and m_HintWidgetRoot.
Referenced by HoverSuccess().
protected string GetMessage | ( | ) |
References HintMessage.
Referenced by HoverSuccess().
protected void HideHint | ( | ) |
References m_HintWidgetRoot.
Referenced by HoverInterrupt().
protected void HoverInterrupt | ( | ) |
References HideHint(), m_CurrentHoverWidget, m_HoverSuccessTriggered, m_HoverTime, and m_Timer.
Referenced by OnMouseLeave(), and Tick().
protected void HoverSuccess | ( | ) |
References DisplayHint(), GetMessage(), and m_HoverSuccessTriggered.
Referenced by Tick().
protected bool Tick | ( | ) |
References HoverInterrupt(), HoverSuccess(), m_CurrentHoverWidget, m_HoverSuccessTriggered, m_HoverTime, and m_Root.
class ScriptConsole extends UIScriptedMenu HintMessage |
Referenced by GetMessage().
protected Widget m_CurrentHoverWidget |
protected RichTextWidget m_HintWidget |
Referenced by UIScriptedMenu::DisplayHint(), and DisplayHint().
protected ImageWidget m_HintWidgetBackground |
Referenced by UIScriptedMenu::DisplayHint(), and DisplayHint().
protected Widget m_HintWidgetRoot |
protected bool m_HoverSuccessTriggered |
protected float m_HoverTime |
Referenced by UIScriptedMenu::HoverInterrupt(), HoverInterrupt(), Tick(), and UIScriptedMenu::Update().
protected Widget m_Root |
protected ref Timer m_Timer |