Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
OptionSelector Class Reference

Protected Member Functions

void OptionSelectorMultistate (Widget parent, int current_index, ScriptedWidgetEventHandler parent_c, bool disabled, notnull array< string > options)
 
void LoadNewValues (notnull array< string > options, int current_index)
 
override void SetNextOption ()
 
override void SetPrevOption ()
 
void PerformSetOption (int index)
 
void SetCanSwitch (bool value)
 
bool CanSwitch ()
 
void SetValue (int value, bool fire_event=true)
 
void SetValue (string value, bool fire_event=true)
 
void SetRandomValue ()
 
int GetValue ()
 
override void SetStringOption (string option, bool fire_event=true)
 

Static Protected Member Functions

static OptionSelectorMultistate NewFromAccess (Widget parent, ListOptionsAccess optionAccess, ScriptedWidgetEventHandler parent_c, bool disabled)
 

Protected Attributes

bool m_CanSwitch
 

Detailed Description

Definition at line 1 of file optionselectormultistate.c.

Member Function Documentation

◆ CanSwitch()

bool OptionSelector::CanSwitch ( )
protected

Definition at line 85 of file optionselectormultistate.c.

◆ GetValue()

int OptionSelector::GetValue ( )
protected

Definition at line 120 of file optionselectormultistate.c.

◆ LoadNewValues()

void OptionSelector::LoadNewValues ( notnull array< string > options,
int current_index )
protected

Definition at line 35 of file optionselectormultistate.c.

◆ NewFromAccess()

static OptionSelectorMultistate OptionSelector::NewFromAccess ( Widget parent,
ListOptionsAccess optionAccess,
ScriptedWidgetEventHandler parent_c,
bool disabled )
staticprotected

Definition at line 28 of file optionselectormultistate.c.

◆ OptionSelectorMultistate()

void OptionSelector::OptionSelectorMultistate ( Widget parent,
int current_index,
ScriptedWidgetEventHandler parent_c,
bool disabled,
notnull array< string > options )
protected

Definition at line 5 of file optionselectormultistate.c.

◆ PerformSetOption()

void OptionSelector::PerformSetOption ( int index)
protected

Definition at line 73 of file optionselectormultistate.c.

◆ SetCanSwitch()

void OptionSelector::SetCanSwitch ( bool value)
protected

Definition at line 80 of file optionselectormultistate.c.

◆ SetNextOption()

override void OptionSelector::SetNextOption ( )
protected

Definition at line 41 of file optionselectormultistate.c.

◆ SetPrevOption()

override void OptionSelector::SetPrevOption ( )
protected

Definition at line 57 of file optionselectormultistate.c.

◆ SetRandomValue()

void OptionSelector::SetRandomValue ( )
protected

Definition at line 113 of file optionselectormultistate.c.

◆ SetStringOption()

override void OptionSelector::SetStringOption ( string option,
bool fire_event = true )
protected

Definition at line 125 of file optionselectormultistate.c.

◆ SetValue() [1/2]

void OptionSelector::SetValue ( int value,
bool fire_event = true )
protected

Definition at line 90 of file optionselectormultistate.c.

◆ SetValue() [2/2]

void OptionSelector::SetValue ( string value,
bool fire_event = true )
protected

Definition at line 101 of file optionselectormultistate.c.

Member Data Documentation

◆ m_CanSwitch

bool OptionSelector::m_CanSwitch
protected

Definition at line 3 of file optionselectormultistate.c.


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