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

#include <AssignmentMenu.h>

Inheritance diagram for AssignmentMenu:
UIScriptedMenu

Private Member Functions

void  AssignmentMenu ()
 
void  ~AssignmentMenu ()
 
Widget  Init ()
 
bool  OnClick (Widget w, int x, int y, int button)
 
bool  OnKeyDown (Widget w, int x, int y, int key)
 
bool  OnKeyUp (Widget w, int x, int y, int key)
 
void  InitAssignment (int action_index)
 
void  AddKey ()
 
void  AddSpecialKey ()
 
void  RemoveKey ()
 
void  ResetAssignments ()
 
void  DefaultAssignments ()
 
void  RefreshUI ()
 
void  StartCapture ()
 
bool  IsCapturing ()
 
void  EndCapture ()
 
void  CancelCapture ()
 

Private Attributes

TextListboxWidget  m_assignedList
 
TextListboxWidget  m_specialKeysList
 
TextWidget  m_actionNameText
 
Widget  m_MainWindow
 
Widget  m_AssignWindow
 
ButtonWidget  m_addButton
 
ButtonWidget  m_addSpecialButton
 
ButtonWidget  m_removeButton
 
ButtonWidget  m_resetButton
 
ButtonWidget  m_defaultButton
 
autoptr TIntArray  m_keys
 
autoptr TIntArray  m_specialKeys
 
autoptr AssignmentTimer  m_timer
 
int  m_action_index
 
int  m_first_key
 
int  m_second_key
 
bool  m_capturing
 
bool  m_first_key_double_tap_enabled
 
bool  m_second_key_double_tap_enabled
 

Constructor & Destructor Documentation

void AssignmentMenu::AssignmentMenu ( )
private
void AssignmentMenu::~AssignmentMenu ( )
private

Member Function Documentation

Widget AssignmentMenu::Init ( )
private
bool AssignmentMenu::OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool AssignmentMenu::OnKeyDown ( Widget  w,
int  x,
int  y,
int  key 
)
private
bool AssignmentMenu::OnKeyUp ( Widget  w,
int  x,
int  y,
int  key 
)
private
void AssignmentMenu::InitAssignment ( int  action_index )
private
void AssignmentMenu::AddKey ( )
private

References IsCapturing(), and StartCapture().

Referenced by OnClick().

void AssignmentMenu::AddSpecialKey ( )
private

References m_keys, m_specialKeys, m_specialKeysList, and RefreshUI().

Referenced by OnClick().

void AssignmentMenu::RemoveKey ( )
private

References m_assignedList, m_keys, and RefreshUI().

Referenced by OnClick().

void AssignmentMenu::ResetAssignments ( )
private

References g_Game, m_action_index, m_keys, and RefreshUI().

Referenced by InitAssignment(), and OnClick().

void AssignmentMenu::DefaultAssignments ( )
private

References g_Game, m_action_index, m_keys, and RefreshUI().

Referenced by OnClick().

void AssignmentMenu::RefreshUI ( )
private
void AssignmentMenu::StartCapture ( )
private
bool AssignmentMenu::IsCapturing ( )
private

References m_capturing.

Referenced by AddKey(), OnKeyDown(), and OnKeyUp().

void AssignmentMenu::EndCapture ( )
private
void AssignmentMenu::CancelCapture ( )
private

Member Data Documentation

TextListboxWidget AssignmentMenu::m_assignedList
private

Referenced by Init(), RefreshUI(), and RemoveKey().

TextListboxWidget AssignmentMenu::m_specialKeysList
private

Referenced by AddSpecialKey(), Init(), and OnClick().

TextWidget AssignmentMenu::m_actionNameText
private

Referenced by Init(), and InitAssignment().

Widget AssignmentMenu::m_MainWindow
private

Referenced by CancelCapture(), Init(), and StartCapture().

Widget AssignmentMenu::m_AssignWindow
private

Referenced by CancelCapture(), Init(), and StartCapture().

ButtonWidget AssignmentMenu::m_addButton
private

Referenced by Init(), and OnClick().

ButtonWidget AssignmentMenu::m_addSpecialButton
private

Referenced by Init(), and OnClick().

ButtonWidget AssignmentMenu::m_removeButton
private

Referenced by Init(), OnClick(), and RefreshUI().

ButtonWidget AssignmentMenu::m_resetButton
private

Referenced by Init(), and OnClick().

ButtonWidget AssignmentMenu::m_defaultButton
private

Referenced by Init(), and OnClick().

autoptr TIntArray AssignmentMenu::m_keys
private
autoptr TIntArray AssignmentMenu::m_specialKeys
private

Referenced by AddSpecialKey(), AssignmentMenu(), and Init().

autoptr AssignmentTimer AssignmentMenu::m_timer
private
int AssignmentMenu::m_action_index
private
int AssignmentMenu::m_first_key
private
int AssignmentMenu::m_second_key
private
bool AssignmentMenu::m_capturing
private
bool AssignmentMenu::m_first_key_double_tap_enabled
private

Referenced by OnKeyDown(), OnKeyUp(), and StartCapture().

bool AssignmentMenu::m_second_key_double_tap_enabled
private

Referenced by OnKeyDown(), OnKeyUp(), and StartCapture().


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