Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_SettingsBindingBase Interface Reference
Inheritance diagram for SCR_SettingsBindingBase:
[legend]

Public Member Functions

void SCR_SettingsBindingBase (string module, string name, string widgetName, string subModule=string.Empty)
 
SCR_WLibComponentBase GetComponent (string name, Widget parent)
 
ScriptInvoker GetEntryChangedInvoker ()
 
string GetWidgetName ()
 
void LoadEntry (Widget parent, bool forceLoadSettings=false, bool addEntryChangedEventHandler=true)
 

Protected Member Functions

SCR_SpinBoxComponent InitSpinBox (SCR_WLibComponentBase comp, bool addEntryChangedEventHandler)
 
SCR_SliderComponent InitSlider (SCR_WLibComponentBase comp, bool addEntryChangedEventHandler)
 
SCR_CheckboxComponent InitCheckBox (SCR_WLibComponentBase comp, bool addEntryChangedEventHandler)
 
SCR_ComboBoxComponent InitComboBox (SCR_WLibComponentBase comp, bool addEntryChangedEventHandler)
 
BaseContainer SetBaseContainer ()
 
void OnSelectableChanged (SCR_WLibComponentBase comp, int i)
 
void OnSliderChanged (SCR_WLibComponentBase comp, float value)
 
void OnCheckboxChanged (SCR_WLibComponentBase comp, bool checked)
 

Protected Attributes

string m_sModule
 
string m_sSubModule
 
string m_sName
 
string m_sWidgetName
 
BaseContainer m_Setting
 
int m_iItem
 
bool m_bUseGameUserSettings
 
ref ScriptInvoker m_OnEntryChanged
 
float m_fMin
 
float m_fMax
 
float m_fStep
 
float m_fCurrent
 
ref array< string > m_aNames = new array<string>()
 
ref array< int > m_aVals = new array<int>()
 
bool m_bHasLimits = false
 

Constructor & Destructor Documentation

◆ SCR_SettingsBindingBase()

void SCR_SettingsBindingBase.SCR_SettingsBindingBase ( string  module,
string  name,
string  widgetName,
string  subModule = string::Empty 
)

Member Function Documentation

◆ GetComponent()

SCR_WLibComponentBase SCR_SettingsBindingBase.GetComponent ( string  name,
Widget  parent 
)

◆ GetEntryChangedInvoker()

ScriptInvoker SCR_SettingsBindingBase.GetEntryChangedInvoker ( )

◆ GetWidgetName()

string SCR_SettingsBindingBase.GetWidgetName ( )

◆ InitCheckBox()

SCR_CheckboxComponent SCR_SettingsBindingBase.InitCheckBox ( SCR_WLibComponentBase  comp,
bool  addEntryChangedEventHandler 
)
protected

◆ InitComboBox()

SCR_ComboBoxComponent SCR_SettingsBindingBase.InitComboBox ( SCR_WLibComponentBase  comp,
bool  addEntryChangedEventHandler 
)
protected

◆ InitSlider()

SCR_SliderComponent SCR_SettingsBindingBase.InitSlider ( SCR_WLibComponentBase  comp,
bool  addEntryChangedEventHandler 
)
protected

◆ InitSpinBox()

SCR_SpinBoxComponent SCR_SettingsBindingBase.InitSpinBox ( SCR_WLibComponentBase  comp,
bool  addEntryChangedEventHandler 
)
protected

◆ LoadEntry()

void SCR_SettingsBindingBase.LoadEntry ( Widget  parent,
bool  forceLoadSettings = false,
bool  addEntryChangedEventHandler = true 
)

◆ OnCheckboxChanged()

void SCR_SettingsBindingBase.OnCheckboxChanged ( SCR_WLibComponentBase  comp,
bool  checked 
)
protected

◆ OnSelectableChanged()

void SCR_SettingsBindingBase.OnSelectableChanged ( SCR_WLibComponentBase  comp,
int  i 
)
protected

◆ OnSliderChanged()

void SCR_SettingsBindingBase.OnSliderChanged ( SCR_WLibComponentBase  comp,
float  value 
)
protected

◆ SetBaseContainer()

BaseContainer SCR_SettingsBindingBase.SetBaseContainer ( )
protected

Member Data Documentation

◆ m_aNames

ref array<string> SCR_SettingsBindingBase.m_aNames = new array<string>()
protected

◆ m_aVals

ref array<int> SCR_SettingsBindingBase.m_aVals = new array<int>()
protected

◆ m_bHasLimits

bool SCR_SettingsBindingBase.m_bHasLimits = false
protected

◆ m_bUseGameUserSettings

bool SCR_SettingsBindingBase.m_bUseGameUserSettings
protected

◆ m_fCurrent

float SCR_SettingsBindingBase.m_fCurrent
protected

◆ m_fMax

float SCR_SettingsBindingBase.m_fMax
protected

◆ m_fMin

float SCR_SettingsBindingBase.m_fMin
protected

◆ m_fStep

float SCR_SettingsBindingBase.m_fStep
protected

◆ m_iItem

int SCR_SettingsBindingBase.m_iItem
protected

◆ m_OnEntryChanged

ref ScriptInvoker SCR_SettingsBindingBase.m_OnEntryChanged
protected

◆ m_Setting

BaseContainer SCR_SettingsBindingBase.m_Setting
protected

◆ m_sModule

string SCR_SettingsBindingBase.m_sModule
protected

◆ m_sName

string SCR_SettingsBindingBase.m_sName
protected

◆ m_sSubModule

string SCR_SettingsBindingBase.m_sSubModule
protected

◆ m_sWidgetName

string SCR_SettingsBindingBase.m_sWidgetName
protected

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