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

Protected Member Functions

override void Init (Widget w, SCR_BaseEditorAttribute attribute)
override void SetFromVar (SCR_BaseEditorAttributeVar var)
void CreateDayList (SCR_ComboBoxIconComponent comboBox, int currentMonth, int currentYear, bool setMoonIcon=true)
void UpdateDateMoonPhaseIcon ()
void GetCorrectDateTime (out float daytime, out int day, out int month, out int year)
void FillMonthComboBox (SCR_ComboBoxIconComponent comboBox)
void FillYearComboBox (SCR_ComboBoxIconComponent comboBox)
void SetMonthWidgetFillWeight ()
SCR_ComboBoxIconComponent GetCorrectComboBox (string lookfor)
TextWidget GetCorrectLabel (string lookfor)
void SetDateComboBoxes (vector date)
override bool OnChangeInternal (Widget w, int x, int y, bool finished)
void OnComboBoxChanged (SCR_ComboBoxComponent comboBox, int index)
 GetGame ().GetWorkspace().SetFocusedWidget(m_comboBox0.GetRootWidget())
override void HandlerDeattached (Widget w)

Protected Attributes

string m_sComboBaseName
string m_sLabelHolderBaseName
string m_sLabelName
ref array< intm_aDayArray
float m_fMonthWidgetFill
TextWidget m_Label0
TextWidget m_Label1
TextWidget m_Label2
SCR_ComboBoxIconComponent m_comboBox0
SCR_ComboBoxIconComponent m_comboBox1
SCR_ComboBoxIconComponent m_comboBox2
ref SCR_EditorAttributeEntryStringArray m_aMonthData
ref SCR_EditorAttributeEntryIntArray m_aYearData
string m_sDateOrder
TimeAndWeatherManagerEntity m_TimeAndWeatherManager
return true

Detailed Description

Definition at line 4 of file SCR_DateAttributeUIComponent.c.

Member Function Documentation

◆ CreateDayList()

void SCR_DateAttributeUIComponent::CreateDayList ( SCR_ComboBoxIconComponent comboBox,
int currentMonth,
int currentYear,
bool setMoonIcon = true )
inlineprotected

Definition at line 155 of file SCR_DateAttributeUIComponent.c.

◆ FillMonthComboBox()

void SCR_DateAttributeUIComponent::FillMonthComboBox ( SCR_ComboBoxIconComponent comboBox)
inlineprotected

Definition at line 246 of file SCR_DateAttributeUIComponent.c.

◆ FillYearComboBox()

void SCR_DateAttributeUIComponent::FillYearComboBox ( SCR_ComboBoxIconComponent comboBox)
inlineprotected

Definition at line 257 of file SCR_DateAttributeUIComponent.c.

◆ GetCorrectComboBox()

SCR_ComboBoxIconComponent SCR_DateAttributeUIComponent::GetCorrectComboBox ( string lookfor)
inlineprotected

Definition at line 274 of file SCR_DateAttributeUIComponent.c.

◆ GetCorrectDateTime()

void SCR_DateAttributeUIComponent::GetCorrectDateTime ( out float daytime,
out int day,
out int month,
out int year )
inlineprotected

Definition at line 231 of file SCR_DateAttributeUIComponent.c.

◆ GetCorrectLabel()

TextWidget SCR_DateAttributeUIComponent::GetCorrectLabel ( string lookfor)
inlineprotected

Definition at line 284 of file SCR_DateAttributeUIComponent.c.

◆ GetGame()

SCR_DateAttributeUIComponent::GetGame ( )
protected

◆ HandlerDeattached()

override void SCR_DateAttributeUIComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 336 of file SCR_DateAttributeUIComponent.c.

◆ Init()

override void SCR_DateAttributeUIComponent::Init ( Widget w,
SCR_BaseEditorAttribute attribute )
inlineprotected

Definition at line 38 of file SCR_DateAttributeUIComponent.c.

◆ OnChangeInternal()

override bool SCR_DateAttributeUIComponent::OnChangeInternal ( Widget w,
int x,
int y,
bool finished )
inlineprotected

Definition at line 301 of file SCR_DateAttributeUIComponent.c.

◆ OnComboBoxChanged()

void SCR_DateAttributeUIComponent::OnComboBoxChanged ( SCR_ComboBoxComponent comboBox,
int index )
inlineprotected

Definition at line 316 of file SCR_DateAttributeUIComponent.c.

◆ SetDateComboBoxes()

void SCR_DateAttributeUIComponent::SetDateComboBoxes ( vector date)
inlineprotected

Definition at line 294 of file SCR_DateAttributeUIComponent.c.

◆ SetFromVar()

override void SCR_DateAttributeUIComponent::SetFromVar ( SCR_BaseEditorAttributeVar var)
inlineprotected

Definition at line 140 of file SCR_DateAttributeUIComponent.c.

◆ SetMonthWidgetFillWeight()

void SCR_DateAttributeUIComponent::SetMonthWidgetFillWeight ( )
inlineprotected

Definition at line 268 of file SCR_DateAttributeUIComponent.c.

◆ UpdateDateMoonPhaseIcon()

void SCR_DateAttributeUIComponent::UpdateDateMoonPhaseIcon ( )
inlineprotected

Definition at line 210 of file SCR_DateAttributeUIComponent.c.

Member Data Documentation

◆ m_aDayArray

ref array<int> SCR_DateAttributeUIComponent::m_aDayArray
protected

Definition at line 16 of file SCR_DateAttributeUIComponent.c.

◆ m_aMonthData

ref SCR_EditorAttributeEntryStringArray SCR_DateAttributeUIComponent::m_aMonthData
protected

Definition at line 29 of file SCR_DateAttributeUIComponent.c.

◆ m_aYearData

ref SCR_EditorAttributeEntryIntArray SCR_DateAttributeUIComponent::m_aYearData
protected

Definition at line 30 of file SCR_DateAttributeUIComponent.c.

◆ m_comboBox0

SCR_ComboBoxIconComponent SCR_DateAttributeUIComponent::m_comboBox0
protected

Definition at line 25 of file SCR_DateAttributeUIComponent.c.

◆ m_comboBox1

SCR_ComboBoxIconComponent SCR_DateAttributeUIComponent::m_comboBox1
protected

Definition at line 26 of file SCR_DateAttributeUIComponent.c.

◆ m_comboBox2

SCR_ComboBoxIconComponent SCR_DateAttributeUIComponent::m_comboBox2
protected

Definition at line 27 of file SCR_DateAttributeUIComponent.c.

◆ m_fMonthWidgetFill

float SCR_DateAttributeUIComponent::m_fMonthWidgetFill
protected

Definition at line 19 of file SCR_DateAttributeUIComponent.c.

◆ m_Label0

TextWidget SCR_DateAttributeUIComponent::m_Label0
protected

Definition at line 21 of file SCR_DateAttributeUIComponent.c.

◆ m_Label1

TextWidget SCR_DateAttributeUIComponent::m_Label1
protected

Definition at line 22 of file SCR_DateAttributeUIComponent.c.

◆ m_Label2

TextWidget SCR_DateAttributeUIComponent::m_Label2
protected

Definition at line 23 of file SCR_DateAttributeUIComponent.c.

◆ m_sComboBaseName

string SCR_DateAttributeUIComponent::m_sComboBaseName
protected

Definition at line 7 of file SCR_DateAttributeUIComponent.c.

◆ m_sDateOrder

string SCR_DateAttributeUIComponent::m_sDateOrder
protected

Definition at line 32 of file SCR_DateAttributeUIComponent.c.

◆ m_sLabelHolderBaseName

string SCR_DateAttributeUIComponent::m_sLabelHolderBaseName
protected

Definition at line 10 of file SCR_DateAttributeUIComponent.c.

◆ m_sLabelName

string SCR_DateAttributeUIComponent::m_sLabelName
protected

Definition at line 13 of file SCR_DateAttributeUIComponent.c.

◆ m_TimeAndWeatherManager

TimeAndWeatherManagerEntity SCR_DateAttributeUIComponent::m_TimeAndWeatherManager
protected

Definition at line 34 of file SCR_DateAttributeUIComponent.c.

◆ true

return SCR_DateAttributeUIComponent::true
protected

Definition at line 333 of file SCR_DateAttributeUIComponent.c.


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