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

#include <OptionsMenu.h>

Inheritance diagram for OptionsMenu:
UIScriptedMenu

Private Member Functions

void  OptionsMenu ()
 
void  ~OptionsMenu ()
 
Widget  Init ()
 
void  InitOptions ()
 
bool  OnClick (Widget w, int x, int y, int button)
 
bool  OnChange (Widget w, int x, int y)
 
bool  OnDoubleClick (Widget w, int x, int y, int button)
 
bool  OnModalResult (Widget w, int x, int y, int code, int result)
 
void  OnShow ()
 
void  SelectTab (int tab_id)
 
void  SelectActionGroup (int group_index)
 
string  GetActionKeysString (int action_index)
 
void  UpdateChatMessages ()
 
void  UpdateDevices ()
 
void  TestFn ()
 
void  ApplyFn ()
 
void  RestartFn ()
 
private void  OverallQualityChanged ()
 
private void  DefaultVideoSettings ()
 
private void  CheckOptionsDependency ()
 

Private Attributes

autoptr GameOptions  m_Options
 
const int  TAB_GAME = 0
 
const int  TAB_SOUND = 1
 
const int  TAB_VIDEO = 2
 
const int  TAB_CONTROLS = 3
 
const int  TABS_COUNT = 4
 
const int  WIDGET_USER_ID_OFFSET = 10000
 
Widget  m_tabs [TABS_COUNT]
 
autoptr TIntArray  m_action_indices
 
autoptr TIntArray  m_keys
 
bool  m_system_cm
 
bool  m_global_cm
 
bool  m_direct_cm
 
bool  m_vehicle_cm
 
bool  m_radio_cm
 
CheckBoxWidget  m_system_cm_check
 
CheckBoxWidget  m_global_cm_check
 
CheckBoxWidget  m_direct_cm_check
 
CheckBoxWidget  m_vehicle_cm_check
 
CheckBoxWidget  m_radio_cm_check
 
ButtonWidget  m_tab_buttons [TABS_COUNT]
 
XComboBoxWidget  m_action_groups
 
TextListboxWidget  m_actions
 
TextListboxWidget  m_devices
 
ButtonWidget  m_device_button
 
ButtonWidget  m_presets_button
 
ButtonWidget  m_assign_button
 
ButtonWidget  m_test_button
 
ButtonWidget  m_quality_set_button
 
ButtonWidget  m_default_video_button
 
CheckBoxWidget  m_device_custom_scheme
 
OptionsAccessUI  m_rend_res_option
 
OptionsAccessUI  m_language_option
 
OptionsAccessUI  m_overall_quality_option
 
SwitchOptionsAccess  m_default_video_access
 
ComboBoxOptionsAccessUI  m_anitialiasing_option
 
ComboBoxOptionsAccessUI  m_postprocess_quality_option
 
OptionsAccessUI  m_atoc_option
 
OptionsAccessUI  m_ao_option
 
OptionsAccessUI  m_bloom_option
 
OptionsAccessUI  m_rot_blur_option
 
autoptr TOptionsAccessUIArray  m_optionsUI
 

Constructor & Destructor Documentation

void OptionsMenu::OptionsMenu ( )
private

References m_action_indices, m_keys, and m_optionsUI.

void OptionsMenu::~OptionsMenu ( )
private

Member Function Documentation

Widget OptionsMenu::Init ( )
private
void OptionsMenu::InitOptions ( )
private
bool OptionsMenu::OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool OptionsMenu::OnChange ( Widget  w,
int  x,
int  y 
)
private
bool OptionsMenu::OnDoubleClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool OptionsMenu::OnModalResult ( Widget  w,
int  x,
int  y,
int  code,
int  result 
)
private
void OptionsMenu::OnShow ( )
private
void OptionsMenu::SelectTab ( int  tab_id )
private
void OptionsMenu::SelectActionGroup ( int  group_index )
private
string OptionsMenu::GetActionKeysString ( int  action_index )
private

References g_Game, and m_keys.

Referenced by SelectActionGroup().

void OptionsMenu::UpdateChatMessages ( )
private
void OptionsMenu::UpdateDevices ( )
private
void OptionsMenu::TestFn ( )
private
void OptionsMenu::ApplyFn ( )
private
void OptionsMenu::RestartFn ( )
private

References g_Game, and IDC_MAIN_QUIT.

void OptionsMenu::OverallQualityChanged ( )
private
void OptionsMenu::DefaultVideoSettings ( )
private
void OptionsMenu::CheckOptionsDependency ( )
private

Member Data Documentation

autoptr GameOptions OptionsMenu::m_Options
private
const int OptionsMenu::TAB_GAME = 0
private

Referenced by Init().

const int OptionsMenu::TAB_SOUND = 1
private

Referenced by Init().

const int OptionsMenu::TAB_VIDEO = 2
private

Referenced by Init().

const int OptionsMenu::TAB_CONTROLS = 3
private

Referenced by Init().

const int OptionsMenu::TABS_COUNT = 4
private

Referenced by OnClick(), and SelectTab().

const int OptionsMenu::WIDGET_USER_ID_OFFSET = 10000
private

Referenced by InitOptions().

Widget OptionsMenu::m_tabs[TABS_COUNT]
private

Referenced by Init(), and SelectTab().

autoptr TIntArray OptionsMenu::m_action_indices
private
autoptr TIntArray OptionsMenu::m_keys
private

Referenced by GetActionKeysString(), and OptionsMenu().

bool OptionsMenu::m_system_cm
private
bool OptionsMenu::m_global_cm
private
bool OptionsMenu::m_direct_cm
private
bool OptionsMenu::m_vehicle_cm
private
bool OptionsMenu::m_radio_cm
private
CheckBoxWidget OptionsMenu::m_system_cm_check
private

Referenced by Init(), OnChange(), and UpdateChatMessages().

CheckBoxWidget OptionsMenu::m_global_cm_check
private

Referenced by Init(), OnChange(), and UpdateChatMessages().

CheckBoxWidget OptionsMenu::m_direct_cm_check
private

Referenced by Init(), OnChange(), and UpdateChatMessages().

CheckBoxWidget OptionsMenu::m_vehicle_cm_check
private

Referenced by Init(), OnChange(), and UpdateChatMessages().

CheckBoxWidget OptionsMenu::m_radio_cm_check
private

Referenced by Init(), OnChange(), and UpdateChatMessages().

ButtonWidget OptionsMenu::m_tab_buttons[TABS_COUNT]
private

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

XComboBoxWidget OptionsMenu::m_action_groups
private

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

TextListboxWidget OptionsMenu::m_actions
private
TextListboxWidget OptionsMenu::m_devices
private
ButtonWidget OptionsMenu::m_device_button
private
ButtonWidget OptionsMenu::m_presets_button
private

Referenced by Init(), and OnClick().

ButtonWidget OptionsMenu::m_assign_button
private

Referenced by Init(), and OnClick().

ButtonWidget OptionsMenu::m_test_button
private

Referenced by Init(), and OnClick().

ButtonWidget OptionsMenu::m_quality_set_button
private

Referenced by Init(), and OnClick().

ButtonWidget OptionsMenu::m_default_video_button
private

Referenced by Init(), and OnClick().

CheckBoxWidget OptionsMenu::m_device_custom_scheme
private

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

OptionsAccessUI OptionsMenu::m_rend_res_option
private

Referenced by InitOptions(), and TestFn().

OptionsAccessUI OptionsMenu::m_language_option
private

Referenced by InitOptions().

OptionsAccessUI OptionsMenu::m_overall_quality_option
private
SwitchOptionsAccess OptionsMenu::m_default_video_access
private
ComboBoxOptionsAccessUI OptionsMenu::m_anitialiasing_option
private
ComboBoxOptionsAccessUI OptionsMenu::m_postprocess_quality_option
private
OptionsAccessUI OptionsMenu::m_atoc_option
private
OptionsAccessUI OptionsMenu::m_ao_option
private
OptionsAccessUI OptionsMenu::m_bloom_option
private
OptionsAccessUI OptionsMenu::m_rot_blur_option
private
autoptr TOptionsAccessUIArray OptionsMenu::m_optionsUI
private

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