PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
UIScriptedWindow Class Reference

Private Member Functions

void UIScriptedWindow (int id)
 
void ~UIScriptedWindow ()
 
Widget GetWidgetRoot ()
 
Widget Init ()
 
void ShowWindow ()
 
void HideWindow ()
 
void CloseWindow ()
 
bool OnClick (Widget w, int x, int y, int button)
 
bool OnModalResult (Widget w, int x, int y, int code, int result)
 
bool OnDoubleClick (Widget w, int x, int y, int button)
 
bool OnSelect (Widget w, int x, int y)
 
bool OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
 
bool OnFocus (Widget w, int x, int y)
 
bool OnFocusLost (Widget w, int x, int y)
 
bool OnMouseEnter (Widget w, int x, int y)
 
bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
bool OnMouseButtonDown (Widget w, int x, int y, int button)
 
bool OnMouseButtonUp (Widget w, int x, int y, int button)
 
bool OnMouseWheel (Widget w, int x, int y, int wheel)
 
bool OnController (Widget w, int control, int value)
 
bool OnKeyDown (Widget w, int x, int y, int key)
 
bool OnKeyUp (Widget w, int x, int y, int key)
 
bool OnKeyPress (Widget w, int x, int y, int key)
 
bool OnChange (Widget w, int x, int y, bool finished)
 
bool OnDrag (Widget w, int x, int y)
 
bool OnDragging (Widget w, int x, int y, Widget reciever)
 
bool OnDraggingOver (Widget w, int x, int y, Widget reciever)
 
bool OnDrop (Widget w, int x, int y, Widget reciever)
 
bool OnDropReceived (Widget w, int x, int y, Widget reciever)
 
bool OnEvent (EventType eventType, Widget target, int parameter0, int parameter1)
 

Static Private Member Functions

static void AddToActiveWindows (int id, UIScriptedWindow window)
 
static void RemoveFromActiveWindows (int id)
 
static UIScriptedWindow GetWindow (int id)
 
static map< int, UIScriptedWindowGetActiveWindows ()
 

Private Attributes

Widget m_WgtRoot
 
int m_Id
 

Static Private Attributes

static ref map< int, UIScriptedWindowm_ActiveWindows
 

Constructor & Destructor Documentation

◆ UIScriptedWindow()

void UIScriptedWindow ( int  id)
inlineprivate

References m_Id.

◆ ~UIScriptedWindow()

void ~UIScriptedWindow ( )
inlineprivate

References GetWidgetRoot().

Member Function Documentation

◆ AddToActiveWindows()

static void AddToActiveWindows ( int  id,
UIScriptedWindow  window 
)
inlinestaticprivate

References m_ActiveWindows.

Referenced by UIManager::OpenWindow().

◆ CloseWindow()

void CloseWindow ( )
inlineprivate

◆ GetActiveWindows()

◆ GetWidgetRoot()

Widget GetWidgetRoot ( )
inlineprivate

References m_WgtRoot.

Referenced by HideWindow(), ShowWindow(), and ~UIScriptedWindow().

◆ GetWindow()

static UIScriptedWindow GetWindow ( int  id)
inlinestaticprivate

◆ HideWindow()

void HideWindow ( )
inlineprivate

References GetWidgetRoot().

Referenced by UIManager::CloseWindow().

◆ Init()

Widget Init ( )
inlineprivate

Referenced by UIManager::OpenWindow().

◆ OnChange()

bool OnChange ( Widget  w,
int  x,
int  y,
bool  finished 
)
inlineprivate

◆ OnClick()

bool OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ OnController()

bool OnController ( Widget  w,
int  control,
int  value 
)
inlineprivate

◆ OnDoubleClick()

bool OnDoubleClick ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ OnDrag()

bool OnDrag ( Widget  w,
int  x,
int  y 
)
inlineprivate

◆ OnDragging()

bool OnDragging ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
inlineprivate

◆ OnDraggingOver()

bool OnDraggingOver ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
inlineprivate

◆ OnDrop()

bool OnDrop ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
inlineprivate

◆ OnDropReceived()

bool OnDropReceived ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
inlineprivate

◆ OnEvent()

bool OnEvent ( EventType  eventType,
Widget  target,
int  parameter0,
int  parameter1 
)
inlineprivate

◆ OnFocus()

bool OnFocus ( Widget  w,
int  x,
int  y 
)
inlineprivate

◆ OnFocusLost()

bool OnFocusLost ( Widget  w,
int  x,
int  y 
)
inlineprivate

◆ OnItemSelected()

bool OnItemSelected ( Widget  w,
int  x,
int  y,
int  row,
int  column,
int  oldRow,
int  oldColumn 
)
inlineprivate

◆ OnKeyDown()

bool OnKeyDown ( Widget  w,
int  x,
int  y,
int  key 
)
inlineprivate

◆ OnKeyPress()

bool OnKeyPress ( Widget  w,
int  x,
int  y,
int  key 
)
inlineprivate

◆ OnKeyUp()

bool OnKeyUp ( Widget  w,
int  x,
int  y,
int  key 
)
inlineprivate

◆ OnModalResult()

bool OnModalResult ( Widget  w,
int  x,
int  y,
int  code,
int  result 
)
inlineprivate

◆ OnMouseButtonDown()

bool OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ OnMouseButtonUp()

bool OnMouseButtonUp ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ OnMouseEnter()

bool OnMouseEnter ( Widget  w,
int  x,
int  y 
)
inlineprivate

◆ OnMouseLeave()

bool OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)
inlineprivate

◆ OnMouseWheel()

bool OnMouseWheel ( Widget  w,
int  x,
int  y,
int  wheel 
)
inlineprivate

◆ OnSelect()

bool OnSelect ( Widget  w,
int  x,
int  y 
)
inlineprivate

◆ RemoveFromActiveWindows()

static void RemoveFromActiveWindows ( int  id)
inlinestaticprivate

References m_ActiveWindows.

Referenced by UIManager::CloseWindow().

◆ ShowWindow()

void ShowWindow ( )
inlineprivate

References GetWidgetRoot().

Field Documentation

◆ m_ActiveWindows

ref map<int, UIScriptedWindow> m_ActiveWindows
staticprivate

◆ m_Id

int m_Id
private

Referenced by CloseWindow(), and UIScriptedWindow().

◆ m_WgtRoot

Widget m_WgtRoot
private

Referenced by GetWidgetRoot().


The documentation for this class was generated from the following file: