Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
UIScriptedWindow Class Reference

Private Member Functions

void UIScriptedWindow (int id)
void ~UIScriptedWindow ()
void CloseWindow ()
Widget GetWidgetRoot ()
void HideWindow ()
Widget Init ()
bool OnChange (Widget w, int x, int y, bool finished)
bool OnClick (Widget w, int x, int y, int button)
bool OnController (Widget w, int control, int value)
bool OnDoubleClick (Widget w, int x, int y, int button)
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)
bool OnFocus (Widget w, int x, int y)
bool OnFocusLost (Widget w, int x, int y)
bool OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
bool OnKeyDown (Widget w, int x, int y, int key)
bool OnKeyPress (Widget w, int x, int y, int key)
bool OnKeyUp (Widget w, int x, int y, int key)
bool OnModalResult (Widget w, int x, int y, int code, int result)
bool OnMouseButtonDown (Widget w, int x, int y, int button)
bool OnMouseButtonUp (Widget w, int x, int y, int button)
bool OnMouseEnter (Widget w, int x, int y)
bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
bool OnMouseWheel (Widget w, int x, int y, int wheel)
bool OnSelect (Widget w, int x, int y)
void ShowWindow ()

Static Private Member Functions

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

Private Attributes

int m_Id
Widget m_WgtRoot

Static Private Attributes

static ref map< int, UIScriptedWindowm_ActiveWindows

Detailed Description

Definition at line 1 of file uiscriptedwindow.c.

Constructor & Destructor Documentation

◆ UIScriptedWindow()

void UIScriptedWindow ( int id)
inlineprivate

Definition at line 44 of file uiscriptedwindow.c.

References m_Id.

Referenced by AddToActiveWindows(), and GetWindow().

◆ ~UIScriptedWindow()

void ~UIScriptedWindow ( )
inlineprivate

Definition at line 49 of file uiscriptedwindow.c.

References GetWidgetRoot().

Member Function Documentation

◆ AddToActiveWindows()

void AddToActiveWindows ( int id,
UIScriptedWindow window )
inlinestaticprivate

Definition at line 9 of file uiscriptedwindow.c.

References UIScriptedWindow(), and m_ActiveWindows.

Referenced by UIManager::OpenWindow().

◆ CloseWindow()

void CloseWindow ( )
inlineprivate

Definition at line 74 of file uiscriptedwindow.c.

References g_Game, and m_Id.

◆ GetActiveWindows()

◆ GetWidgetRoot()

Widget GetWidgetRoot ( )
inlineprivate

Definition at line 55 of file uiscriptedwindow.c.

References m_WgtRoot.

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

◆ GetWindow()

UIScriptedWindow GetWindow ( int id)
inlinestaticprivate

◆ HideWindow()

void HideWindow ( )
inlineprivate

Definition at line 69 of file uiscriptedwindow.c.

References GetWidgetRoot().

Referenced by UIManager::CloseWindow().

◆ Init()

Widget Init ( )
inlineprivate

Definition at line 60 of file uiscriptedwindow.c.

Referenced by UIManager::OpenWindow().

◆ OnChange()

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

Definition at line 160 of file uiscriptedwindow.c.

References x, and y.

◆ OnClick()

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

Definition at line 80 of file uiscriptedwindow.c.

References x, and y.

◆ OnController()

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

Definition at line 140 of file uiscriptedwindow.c.

◆ OnDoubleClick()

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

Definition at line 90 of file uiscriptedwindow.c.

References x, and y.

◆ OnDrag()

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

Definition at line 165 of file uiscriptedwindow.c.

References x, and y.

◆ OnDragging()

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

Definition at line 170 of file uiscriptedwindow.c.

References x, and y.

◆ OnDraggingOver()

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

Definition at line 175 of file uiscriptedwindow.c.

References x, and y.

◆ OnDrop()

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

Definition at line 180 of file uiscriptedwindow.c.

References x, and y.

◆ OnDropReceived()

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

Definition at line 185 of file uiscriptedwindow.c.

References x, and y.

◆ OnEvent()

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

Definition at line 190 of file uiscriptedwindow.c.

◆ OnFocus()

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

Definition at line 105 of file uiscriptedwindow.c.

References x, and y.

◆ OnFocusLost()

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

Definition at line 110 of file uiscriptedwindow.c.

References x, and y.

◆ OnItemSelected()

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

Definition at line 100 of file uiscriptedwindow.c.

References x, and y.

◆ OnKeyDown()

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

Definition at line 145 of file uiscriptedwindow.c.

References x, and y.

◆ OnKeyPress()

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

Definition at line 155 of file uiscriptedwindow.c.

References x, and y.

◆ OnKeyUp()

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

Definition at line 150 of file uiscriptedwindow.c.

References x, and y.

◆ OnModalResult()

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

Definition at line 85 of file uiscriptedwindow.c.

References x, and y.

◆ OnMouseButtonDown()

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

Definition at line 125 of file uiscriptedwindow.c.

References x, and y.

◆ OnMouseButtonUp()

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

Definition at line 130 of file uiscriptedwindow.c.

References x, and y.

◆ OnMouseEnter()

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

Definition at line 115 of file uiscriptedwindow.c.

References x, and y.

◆ OnMouseLeave()

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

Definition at line 120 of file uiscriptedwindow.c.

References x, and y.

◆ OnMouseWheel()

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

Definition at line 135 of file uiscriptedwindow.c.

References x, and y.

◆ OnSelect()

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

Definition at line 95 of file uiscriptedwindow.c.

References x, and y.

◆ RemoveFromActiveWindows()

void RemoveFromActiveWindows ( int id)
inlinestaticprivate

Definition at line 19 of file uiscriptedwindow.c.

References m_ActiveWindows.

Referenced by UIManager::CloseWindow().

◆ ShowWindow()

void ShowWindow ( )
inlineprivate

Definition at line 64 of file uiscriptedwindow.c.

References GetWidgetRoot().

Field Documentation

◆ m_ActiveWindows

ref map<int, UIScriptedWindow> m_ActiveWindows
staticprivate

◆ m_Id

int m_Id
private

Definition at line 4 of file uiscriptedwindow.c.

Referenced by UIScriptedWindow(), and CloseWindow().

◆ m_WgtRoot

Widget m_WgtRoot
private

Definition at line 3 of file uiscriptedwindow.c.

Referenced by GetWidgetRoot().


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