Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SCR_WidgetListEntrySlider Interface Reference

Configurable widget list entry for slider with ranged values. More...

Inheritance diagram for SCR_WidgetListEntrySlider:
[legend]

Public Member Functions

override void SetValue (string str)
 
override string ValueAsString ()
 Return value from widget in string format.
 
void SetRange (float min, float max)
 
- Public Member Functions inherited from SCR_WidgetListEntry
void CreateWidget (Widget parent)
 
string ValueAsString ()
 Return value from widget in string format.
 
void SetValue (string str)
 
bool CheckValidity ()
 Default validity for majority of inputs will be true.
 
void SetInteractive (bool interactive)
 Can value be interacted - set handler enabled.
 
ResourceName GetEntryLayout ()
 
void SetEntryLayout (ResourceName layout)
 
string GetLabel ()
 
void SetLabel (string label)
 
string GetPropertyName ()
 
void SetPropertyName (string propertyName)
 
string GetGroupTag ()
 
void SetGroupTag (string tag)
 
EJsonApiStructValueType GetType ()
 
Widget GetEntryRoot ()
 
bool IsInputValid ()
 
bool GetVisible ()
 
void SetVisible (bool show)
 

Protected Member Functions

override void SetupHandlers ()
 Empty function to override to assing custom handlers.
 
- Protected Member Functions inherited from SCR_WidgetListEntry
void SetupHandlers ()
 Empty function to override to assing custom handlers.
 
bool CanSkip ()
 Can skip return true if input is empty and value is not required.
 

Protected Attributes

float m_fMin
 
float m_fMax
 
float m_fStep
 
string m_sFormatText
 
SCR_SliderComponent m_Slider
 
- Protected Attributes inherited from SCR_WidgetListEntry
ResourceName m_sEntryLayout
 
bool m_bShow
 
string m_sLabel
 
string m_sPropertyName
 
string m_sGroupTag
 
string m_sDefaultValue
 
bool m_bRequired
 
bool m_bInteractive
 
SCR_ChangeableComponentBase m_ChangeableComponent
 
EJsonApiStructValueType m_iType
 
string m_sClassTag
 
Widget m_EntryRoot
 
bool m_bValidInput = true
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_WidgetListEntry
static SCR_ConfigListEntries GetEntriesDefinitions (ResourceName presetsResourceName)
 
- Static Public Attributes inherited from SCR_WidgetListEntry
const string INVALID_VALUE = "-invalid-"
 
- Static Protected Attributes inherited from SCR_WidgetListEntry
const ResourceName ENTRY_DEFINITIONS = "{A6EFD45A3A38965C}Configs/JsonConfigList/JsonConfigListDefinition.conf"
 

Detailed Description

Configurable widget list entry for slider with ranged values.

Member Function Documentation

◆ SetRange()

void SCR_WidgetListEntrySlider.SetRange ( float  min,
float  max 
)

◆ SetupHandlers()

override void SCR_WidgetListEntrySlider.SetupHandlers ( )
protected

Empty function to override to assing custom handlers.

Implements SCR_WidgetListEntry.

◆ SetValue()

override void SCR_WidgetListEntrySlider.SetValue ( string  str)

Implements SCR_WidgetListEntry.

◆ ValueAsString()

override string SCR_WidgetListEntrySlider.ValueAsString ( )

Return value from widget in string format.

Implements SCR_WidgetListEntry.

Member Data Documentation

◆ m_fMax

float SCR_WidgetListEntrySlider.m_fMax
protected

◆ m_fMin

float SCR_WidgetListEntrySlider.m_fMin
protected

◆ m_fStep

float SCR_WidgetListEntrySlider.m_fStep
protected

◆ m_sFormatText

string SCR_WidgetListEntrySlider.m_sFormatText
protected

◆ m_Slider

SCR_SliderComponent SCR_WidgetListEntrySlider.m_Slider
protected

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