Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_VideoSettingsSubMenu Class Reference
Inheritance diagram for SCR_VideoSettingsSubMenu:
SCR_SettingsSubMenuBase

Protected Member Functions

override void OnMenuItemChanged (SCR_SettingsBindingBase binding)
void OnCustomMenuItemChanged (string widgetName)
void SetQualityPresetIndex (string changedSetting)
override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
void SetupTextureDetail (bool isInit=true)
void OnMaxFPSChanged (SCR_SpinBoxComponent comp, int i)
 Event called when max FPS is changed.
void OnTextureDetailChanged (SCR_SpinBoxComponent comp, int i)
 Event called when texture detail spinbox changes.
void OnQualityPresetChanged (SCR_ComboBoxComponent combobox, int itemIndex)
void SetupQualityPreset ()
void SetupHardwareAA (bool isInit=true)
void OnHardwareAAChanged (SCR_SpinBoxComponent comp, int i)
 Event called when hardware AA spinbox changes.
void OnResolutionScaleChanged (SCR_SliderComponent comp, float value)
 Event called when resolution scale slider changes.
void OnRenderResolutionChanged ()
 method called when resolution or resolution scale changes
void OnShadowDetailChanged (SCR_SpinBoxComponent comp, int i)
 Event called when shadow quality spinbox changes.
void OnViewDistanceChanged (SCR_SliderComponent comp, float value)
 Event called when shadow quality slider changes.
void OnGrassDistanceChanged (SCR_SliderComponent comp, float value)
void OnWindowModeChanged (SCR_SpinBoxComponent comp, int index)
 Event called when window mode combo box changes.
void SetResolutionCombo (SCR_ComboBoxComponent combo)
void SetupViewDistance ()
void SetupGrassDistance ()
void SetupShadowQuality (bool isInit=true)
void SetupResolution ()
void SetupResolutionScale ()
void RemoveQualityPresetFocus ()
void UpdateResolution (SCR_ComboBoxComponent resolution, int current)
 Event called when resolution combo box changes.
void SetupMaxFPS ()
void HandleDescription ()
void DescriptionOnFocus ()
void DescriptionOnFocusLost ()

Protected Attributes

ref array< intm_aWidths = {}
ref array< intm_aHeights = {}
ref array< intm_aAAvalues = { 0, 2, 4, 8, 16, 32 }
SCR_ComboBoxComponent m_ResolutionCombo
SCR_SliderComponent m_ResolutionScale
SCR_SpinBoxComponent m_WindowMode
SCR_SpinBoxComponent m_MaxFPS
string m_sResolutionScaleLocalisation = "#AR-Settings_RenderScale"
UserSettings m_Video
UserSettings m_Pipeline
UserSettings m_ResourceManager

Static Protected Attributes

static const string RESOLUTION_FORMAT = "%1 × %2"
static const int CUSTOM_PRESET_INDEX = 4
static const ref array< stringPRESET_SETTINGS
 list of WIDGET names

Detailed Description

Definition at line 22 of file SCR_VideoSettingsSubMenu.c.

Member Function Documentation

◆ DescriptionOnFocus()

void SCR_VideoSettingsSubMenu::DescriptionOnFocus ( )
inlineprotected

Definition at line 720 of file SCR_VideoSettingsSubMenu.c.

◆ DescriptionOnFocusLost()

void SCR_VideoSettingsSubMenu::DescriptionOnFocusLost ( )
inlineprotected

Definition at line 732 of file SCR_VideoSettingsSubMenu.c.

◆ HandleDescription()

void SCR_VideoSettingsSubMenu::HandleDescription ( )
inlineprotected

Definition at line 706 of file SCR_VideoSettingsSubMenu.c.

◆ OnCustomMenuItemChanged()

void SCR_VideoSettingsSubMenu::OnCustomMenuItemChanged ( string widgetName)
inlineprotected

Definition at line 91 of file SCR_VideoSettingsSubMenu.c.

◆ OnGrassDistanceChanged()

void SCR_VideoSettingsSubMenu::OnGrassDistanceChanged ( SCR_SliderComponent comp,
float value )
inlineprotected

Definition at line 382 of file SCR_VideoSettingsSubMenu.c.

◆ OnHardwareAAChanged()

void SCR_VideoSettingsSubMenu::OnHardwareAAChanged ( SCR_SpinBoxComponent comp,
int i )
inlineprotected

Event called when hardware AA spinbox changes.

Definition at line 308 of file SCR_VideoSettingsSubMenu.c.

◆ OnMaxFPSChanged()

void SCR_VideoSettingsSubMenu::OnMaxFPSChanged ( SCR_SpinBoxComponent comp,
int i )
inlineprotected

Event called when max FPS is changed.

Definition at line 207 of file SCR_VideoSettingsSubMenu.c.

◆ OnMenuItemChanged()

override void SCR_VideoSettingsSubMenu::OnMenuItemChanged ( SCR_SettingsBindingBase binding)
inlineprotected

Definition at line 78 of file SCR_VideoSettingsSubMenu.c.

◆ OnQualityPresetChanged()

void SCR_VideoSettingsSubMenu::OnQualityPresetChanged ( SCR_ComboBoxComponent combobox,
int itemIndex )
inlineprotected

Definition at line 241 of file SCR_VideoSettingsSubMenu.c.

◆ OnRenderResolutionChanged()

void SCR_VideoSettingsSubMenu::OnRenderResolutionChanged ( )
inlineprotected

method called when resolution or resolution scale changes

Definition at line 337 of file SCR_VideoSettingsSubMenu.c.

◆ OnResolutionScaleChanged()

void SCR_VideoSettingsSubMenu::OnResolutionScaleChanged ( SCR_SliderComponent comp,
float value )
inlineprotected

Event called when resolution scale slider changes.

Definition at line 324 of file SCR_VideoSettingsSubMenu.c.

◆ OnShadowDetailChanged()

void SCR_VideoSettingsSubMenu::OnShadowDetailChanged ( SCR_SpinBoxComponent comp,
int i )
inlineprotected

Event called when shadow quality spinbox changes.

Definition at line 358 of file SCR_VideoSettingsSubMenu.c.

◆ OnTabCreate()

override void SCR_VideoSettingsSubMenu::OnTabCreate ( Widget menuRoot,
ResourceName buttonsLayout,
int index )
inlineprotected

Definition at line 112 of file SCR_VideoSettingsSubMenu.c.

◆ OnTextureDetailChanged()

void SCR_VideoSettingsSubMenu::OnTextureDetailChanged ( SCR_SpinBoxComponent comp,
int i )
inlineprotected

Event called when texture detail spinbox changes.

Definition at line 225 of file SCR_VideoSettingsSubMenu.c.

◆ OnViewDistanceChanged()

void SCR_VideoSettingsSubMenu::OnViewDistanceChanged ( SCR_SliderComponent comp,
float value )
inlineprotected

Event called when shadow quality slider changes.

Definition at line 369 of file SCR_VideoSettingsSubMenu.c.

◆ OnWindowModeChanged()

void SCR_VideoSettingsSubMenu::OnWindowModeChanged ( SCR_SpinBoxComponent comp,
int index )
inlineprotected

Event called when window mode combo box changes.

Definition at line 390 of file SCR_VideoSettingsSubMenu.c.

◆ RemoveQualityPresetFocus()

void SCR_VideoSettingsSubMenu::RemoveQualityPresetFocus ( )
inlineprotected

Removes Quality Presets focus - as it is a powerful setting (and is the first one) and sets it to the first button found under SettingsEntries

Definition at line 641 of file SCR_VideoSettingsSubMenu.c.

◆ SetQualityPresetIndex()

void SCR_VideoSettingsSubMenu::SetQualityPresetIndex ( string changedSetting)
inlineprotected

Definition at line 98 of file SCR_VideoSettingsSubMenu.c.

◆ SetResolutionCombo()

void SCR_VideoSettingsSubMenu::SetResolutionCombo ( SCR_ComboBoxComponent combo)
inlineprotected

Definition at line 456 of file SCR_VideoSettingsSubMenu.c.

◆ SetupGrassDistance()

void SCR_VideoSettingsSubMenu::SetupGrassDistance ( )
inlineprotected

Definition at line 542 of file SCR_VideoSettingsSubMenu.c.

◆ SetupHardwareAA()

void SCR_VideoSettingsSubMenu::SetupHardwareAA ( bool isInit = true)
inlineprotected

Definition at line 276 of file SCR_VideoSettingsSubMenu.c.

◆ SetupMaxFPS()

void SCR_VideoSettingsSubMenu::SetupMaxFPS ( )
inlineprotected

Definition at line 679 of file SCR_VideoSettingsSubMenu.c.

◆ SetupQualityPreset()

void SCR_VideoSettingsSubMenu::SetupQualityPreset ( )
inlineprotected

Definition at line 266 of file SCR_VideoSettingsSubMenu.c.

◆ SetupResolution()

void SCR_VideoSettingsSubMenu::SetupResolution ( )
inlineprotected

Definition at line 578 of file SCR_VideoSettingsSubMenu.c.

◆ SetupResolutionScale()

void SCR_VideoSettingsSubMenu::SetupResolutionScale ( )
inlineprotected

Definition at line 625 of file SCR_VideoSettingsSubMenu.c.

◆ SetupShadowQuality()

void SCR_VideoSettingsSubMenu::SetupShadowQuality ( bool isInit = true)
inlineprotected

Definition at line 560 of file SCR_VideoSettingsSubMenu.c.

◆ SetupTextureDetail()

void SCR_VideoSettingsSubMenu::SetupTextureDetail ( bool isInit = true)
inlineprotected

Definition at line 184 of file SCR_VideoSettingsSubMenu.c.

◆ SetupViewDistance()

void SCR_VideoSettingsSubMenu::SetupViewDistance ( )
inlineprotected

Definition at line 514 of file SCR_VideoSettingsSubMenu.c.

◆ UpdateResolution()

void SCR_VideoSettingsSubMenu::UpdateResolution ( SCR_ComboBoxComponent resolution,
int current )
inlineprotected

Event called when resolution combo box changes.

Definition at line 665 of file SCR_VideoSettingsSubMenu.c.

Member Data Documentation

◆ CUSTOM_PRESET_INDEX

const int SCR_VideoSettingsSubMenu::CUSTOM_PRESET_INDEX = 4
staticprotected

Definition at line 41 of file SCR_VideoSettingsSubMenu.c.

◆ m_aAAvalues

ref array<int> SCR_VideoSettingsSubMenu::m_aAAvalues = { 0, 2, 4, 8, 16, 32 }
protected

Definition at line 26 of file SCR_VideoSettingsSubMenu.c.

◆ m_aHeights

ref array<int> SCR_VideoSettingsSubMenu::m_aHeights = {}
protected

Definition at line 25 of file SCR_VideoSettingsSubMenu.c.

◆ m_aWidths

ref array<int> SCR_VideoSettingsSubMenu::m_aWidths = {}
protected

Definition at line 24 of file SCR_VideoSettingsSubMenu.c.

◆ m_MaxFPS

SCR_SpinBoxComponent SCR_VideoSettingsSubMenu::m_MaxFPS
protected

Definition at line 32 of file SCR_VideoSettingsSubMenu.c.

◆ m_Pipeline

UserSettings SCR_VideoSettingsSubMenu::m_Pipeline
protected

Definition at line 37 of file SCR_VideoSettingsSubMenu.c.

◆ m_ResolutionCombo

SCR_ComboBoxComponent SCR_VideoSettingsSubMenu::m_ResolutionCombo
protected

Definition at line 28 of file SCR_VideoSettingsSubMenu.c.

◆ m_ResolutionScale

SCR_SliderComponent SCR_VideoSettingsSubMenu::m_ResolutionScale
protected

Definition at line 29 of file SCR_VideoSettingsSubMenu.c.

◆ m_ResourceManager

UserSettings SCR_VideoSettingsSubMenu::m_ResourceManager
protected

Definition at line 38 of file SCR_VideoSettingsSubMenu.c.

◆ m_sResolutionScaleLocalisation

string SCR_VideoSettingsSubMenu::m_sResolutionScaleLocalisation = "#AR-Settings_RenderScale"
protected

Definition at line 34 of file SCR_VideoSettingsSubMenu.c.

◆ m_Video

UserSettings SCR_VideoSettingsSubMenu::m_Video
protected

Definition at line 36 of file SCR_VideoSettingsSubMenu.c.

◆ m_WindowMode

SCR_SpinBoxComponent SCR_VideoSettingsSubMenu::m_WindowMode
protected

Definition at line 31 of file SCR_VideoSettingsSubMenu.c.

◆ PRESET_SETTINGS

const ref array<string> SCR_VideoSettingsSubMenu::PRESET_SETTINGS
staticprotected
Initial value:
= {
"Detail",
"DistantShadows",
"EnvironmentQuality",
"FoliageSmoothing",
"GeometricDetail",
"GrassDistance",
"GrassLOD",
"HardwareAA",
"HBAO",
"ObjectDrawDistance",
"PostprocessAA",
"RenderTargetFormat",
"ShadowQuality",
"SSDO",
"SSR",
"TerrainSurfaceDetail",
"TextureDetail",
"TextureFiltering",
}

list of WIDGET names

Definition at line 44 of file SCR_VideoSettingsSubMenu.c.

◆ RESOLUTION_FORMAT

const string SCR_VideoSettingsSubMenu::RESOLUTION_FORMAT = "%1 × %2"
staticprotected

Definition at line 40 of file SCR_VideoSettingsSubMenu.c.


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