DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
UIScriptedMenu Class Reference

Part of main menu hierarchy to create custom menus from script. More...

#include <UIScriptedMenu.h>

Inheritance diagram for UIScriptedMenu:
UIMenuPanel AssignmentMenu BookMenu CharacterMenu ChatInputMenu EarlyAccessMenu InGameMenu InspectMenu InventoryMenu LoadingMenu MainMenu MapMenu MissionEditor NoteMenu OptionsMenu PresetsMenu SceneEditorMenu ScriptConsole ScriptConsoleNewPresetDialog ScriptConsoleRenamePresetDialog StartupMenu

Private Member Functions

Widget layoutRoot void  LockControls ()
 
void  UnlockControls ()
 
void  UIScriptedMenu ()
 
void  ~UIScriptedMenu ()
 
void  SetID (int id)
  Sets MenuID. More...
 
int  GetID ()
  Returns MenuID. More...
 
Widget  Init ()
 
void  Cleanup ()
 
void  OnShow ()
 
void  OnHide ()
 
void  Update (float timeslice)
  Per frame update, called from engine. More...
 
void  Refresh ()
  Refresh request, called from anywhere. More...
 
proto void  SetFadingPanels (Widget panel0, Widget panel1, Widget panel2, Widget panel3, Widget panel4)
 
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  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)
 
ContextMenu  GetContextMenu ()
 

Private Attributes

int  m_id
 

Detailed Description

Part of main menu hierarchy to create custom menus from script.

Constructor & Destructor Documentation

void UIScriptedMenu::UIScriptedMenu ( )
private

References LockControls(), m_id, and MENU_UNKNOWN.

void UIScriptedMenu::~UIScriptedMenu ( )
private

References UnlockControls().

Member Function Documentation

void UIScriptedMenu::LockControls ( )
private
void UIScriptedMenu::UnlockControls ( )
private
void UIScriptedMenu::SetID ( int  id )
private
int UIScriptedMenu::GetID ( )
private
Widget UIScriptedMenu::Init ( )
private
void UIScriptedMenu::Cleanup ( )
private
void UIScriptedMenu::OnShow ( )
private
void UIScriptedMenu::OnHide ( )
private
void UIScriptedMenu::Update ( float  timeslice )
private

Per frame update, called from engine.

void UIScriptedMenu::Refresh ( )
private

Refresh request, called from anywhere.

Referenced by PlayerBase::EEItemIntoHands(), and PlayerBase::EEItemOutOfHands().

proto void UIScriptedMenu::SetFadingPanels ( Widget  panel0,
Widget  panel1,
Widget  panel2,
Widget  panel3,
Widget  panel4 
)
private
bool UIScriptedMenu::OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool UIScriptedMenu::OnModalResult ( Widget  w,
int  x,
int  y,
int  code,
int  result 
)
private
bool UIScriptedMenu::OnDoubleClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool UIScriptedMenu::OnSelect ( Widget  w,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnItemSelected ( Widget  w,
int  x,
int  y,
int  row,
int  column,
int  oldRow,
int  oldColumn 
)
private
bool UIScriptedMenu::OnFocus ( Widget  w,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnFocusLost ( Widget  w,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnMouseEnter ( Widget  w,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool UIScriptedMenu::OnMouseButtonUp ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool UIScriptedMenu::OnMouseWheel ( Widget  w,
int  x,
int  y,
int  wheel 
)
private
bool UIScriptedMenu::OnController ( Widget  w,
int  control,
int  value 
)
private
bool UIScriptedMenu::OnKeyDown ( Widget  w,
int  x,
int  y,
int  key 
)
private

Referenced by DayZGame::OnKeyPress().

bool UIScriptedMenu::OnKeyUp ( Widget  w,
int  x,
int  y,
int  key 
)
private

Referenced by DayZGame::OnKeyRelease().

bool UIScriptedMenu::OnKeyPress ( Widget  w,
int  x,
int  y,
int  key 
)
private
bool UIScriptedMenu::OnChange ( Widget  w,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnDrag ( Widget  w,
int  x,
int  y 
)
private
bool UIScriptedMenu::OnDragging ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
private
bool UIScriptedMenu::OnDraggingOver ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
private
bool UIScriptedMenu::OnDrop ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
private
bool UIScriptedMenu::OnDropReceived ( Widget  w,
int  x,
int  y,
Widget  reciever 
)
private
bool UIScriptedMenu::OnEvent ( EventType  eventType,
Widget  target,
int  parameter0,
int  parameter1 
)
private
ContextMenu UIScriptedMenu::GetContextMenu ( )
private

Member Data Documentation

int UIScriptedMenu::m_id
private

Referenced by GetID(), and UIScriptedMenu().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)