DayZ 1.24
Loading...
Searching...
No Matches
UIPopupScript Class Reference
Collaboration diagram for UIPopupScript:
[legend]

Protected Member Functions

UIPopupScript PopupBack ()
 
UIPopupScript PopupOpen (int popup_id, Param param)
 
PluginSceneManager GetSceneEditor ()
 

Protected Attributes

Widget m_WgtRoot
 

Private Member Functions

void UIPopupScript (Widget wgt)
 
void OnOpen (Param param)
 
void OnClose ()
 
void Show (bool show)
 
bool OnClick (Widget w, int x, int y, int button)
 
bool OnChange (Widget w, int x, int y, bool finished)
 
void UIPopupScriptConfigs (Widget wgt)
 
void ChangeConfigFilter ()
 
override void OnOpen (Param param)
 
void AddItemToClipboard (TextListboxWidget text_listbox_widget)
 
void RenderVariables (int row)
 
void ExpandHierarchy (int row)
 
void CollapseHierarchy (int row)
 
void ClearHierarchy ()
 
void FindInHierarchy (string class_name)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void UIPopupScriptEditorSettings (Widget wgt)
 
override void OnOpen (Param param)
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
void UIPopupScriptInitScript (Widget wgt)
 
override void OnOpen (Param param)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void UIPopupScriptNotify (Widget wgt)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void SetLabelText (string text)
 
void UIPopupScriptPositionManager (Widget wgt)
 
override void OnOpen (Param param)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void OnItemSelected (Widget w, int x, int y, int row, int column, int oldRow, int oldColumn)
 
string GetCurrentLocationName ()
 
void UIPopupScriptPresetNew (Widget wgt)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void UIPopupScriptPresetRename (Widget wgt)
 
override void OnOpen (Param param)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void UIPopupScriptSceneDelete (Widget wgt)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void SetDeleteName (string scene_name)
 
void UIPopupScriptSceneManager (Widget wgt)
 
void ~UIPopupScriptSceneManager ()
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
void UpdateSceneList ()
 
override void OnOpen (Param param)
 
override void OnClose ()
 
void OnUpdate ()
 
void ResetSliders ()
 
void UpdateSliderStartTime (int hour, int minute)
 
void UpdateSliderStartDay (int month, int day)
 
void UpdateSliderOvercast ()
 
void UpdateSliderRain ()
 
void UpdateSliderFog ()
 
void UpdateSliderWindForce ()
 
void UIPopupScriptSceneNew (Widget wgt)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void UIPopupScriptSceneRename (Widget wgt)
 
override bool OnClick (Widget w, int x, int y, int button)
 
void SetRenameName (string rename_name)
 
void UIPopupScriptSceneSettings (Widget wgt)
 
void ~UIPopupScriptSceneSettings ()
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnChange (Widget w, int x, int y, bool finished)
 
override void OnOpen (Param param)
 
override void OnClose ()
 
void OnUpdate ()
 
void ResetSliders ()
 
void UpdateSliderStartTime (int hour, int minute)
 
void UpdateSliderStartDay (int month, int day)
 
void UpdateSliderOvercast ()
 
void UpdateSliderRain ()
 
void UpdateSliderFog ()
 
void UpdateSliderWindForce ()
 

Private Attributes

ButtonWidget m_BtnOk
 
ButtonWidget m_BtnCancel
 
ButtonWidget m_BtnCopyToClipboard
 
TextListboxWidget m_ConfigHierarchyTextListbox
 
TextListboxWidget m_ConfigVariablesTextListbox
 
PluginConfigViewer m_ModuleConfigViewer
 
EditBoxWidget m_ObjectConfigFilter
 
CheckBoxWidget m_WgtTglSeleHighlight
 
CheckBoxWidget m_WgtTglSavePlayerPos
 
EditBoxWidget m_EdxRotationDelta
 
PluginSceneManager m_ModuleSceneManager
 
MultilineEditBoxWidget m_MedxInitScript
 
ButtonWidget m_BtnRun
 
ButtonWidget m_BtnSave
 
int m_SceneObjectIndex
 
SceneObject m_SceneObject
 
TextWidget m_TxtLabel
 
TextListboxWidget m_LstPositionList
 
EditBoxWidget m_TxtSelectedX
 
EditBoxWidget m_TxtSelectedY
 
EditBoxWidget m_TxtCurrentX
 
EditBoxWidget m_TxtCurrentY
 
PluginConfigDebugProfileFixed m_ConfigDebugProfileFixed
 
ButtonWidget m_TeleportButton
 
ButtonWidget m_CancelButton
 
EditBoxWidget m_Editbox
 
ButtonWidget m_BtnYes
 
ButtonWidget m_BtnNo
 
string m_DeleteScene
 
ButtonWidget m_BtnSceneNew
 
ButtonWidget m_BtnSceneLoad
 
ButtonWidget m_BtnSceneRename
 
ButtonWidget m_BtnSceneDuplicate
 
ButtonWidget m_BtnSceneDelete
 
TextListboxWidget m_LstListScenes
 
TextWidget m_TxtWeatherTime
 
SliderWidget m_SldStartTime
 
TextWidget m_TxtStartTimeValue
 
SliderWidget m_SldStartDay
 
TextWidget m_TxtStartDayValue
 
SliderWidget m_SldOvercast
 
TextWidget m_TxtOvercastValue
 
SliderWidget m_SldRain
 
TextWidget m_TxtRainValue
 
SliderWidget m_SldFog
 
TextWidget m_TxtFogValue
 
SliderWidget m_SldWindForce
 
TextWidget m_TxtWindForceValue
 
int m_OrigYear
 
int m_OrigMonth
 
int m_OrigDay
 
int m_OrigHour
 
int m_OrigMinute
 
float m_OrigOvercast
 
float m_OrigRain
 
float m_OrigFog
 
float m_OrigWindForce
 
int m_CurrYear
 
int m_CurrMonth
 
int m_CurrDay
 
int m_CurrHour
 
int m_CurrMinute
 
float m_CurrOvercast
 
float m_CurrRain
 
float m_CurrFog
 
float m_CurrWindForce
 
string m_RenameName
 

Static Private Attributes

static const int m_DaysInMonth [12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
 

Detailed Description

Definition at line 1 of file UIPopupScript.c.

Constructor & Destructor Documentation

◆ UIPopupScript()

void UIPopupScript::UIPopupScript ( Widget wgt)
inlineprivate

Definition at line 6 of file UIPopupScript.c.

7 {
9 }

References m_WgtRoot.

◆ ~UIPopupScriptSceneManager()

void UIPopupScript::~UIPopupScriptSceneManager ( )
inlineprivate

Definition at line 87 of file UIPopupScriptSceneManager.c.

88 {
89 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Remove(this.OnUpdate);
90 }
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8

References CALL_CATEGORY_SYSTEM, GetGame(), and OnUpdate().

◆ ~UIPopupScriptSceneSettings()

void UIPopupScript::~UIPopupScriptSceneSettings ( )
inlineprivate

Definition at line 72 of file UIPopupScriptSceneSettings.c.

73 {
74 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Remove(this.OnUpdate);
75 }

References CALL_CATEGORY_SYSTEM, GetGame(), and OnUpdate().

Member Function Documentation

◆ AddItemToClipboard()

void UIPopupScript::AddItemToClipboard ( TextListboxWidget text_listbox_widget)
inlineprivate

Definition at line 37 of file UIPopupScriptConfigs.c.

38 {
39 int selected_row_index = text_listbox_widget.GetSelectedRow();
40 if (selected_row_index != -1)
41 {
42 string item_name;
44 GetGame().CopyToClipboard(item_name);
45 }
46 }

References GetGame().

Referenced by OnClick().

◆ ChangeConfigFilter()

void UIPopupScript::ChangeConfigFilter ( )
inlineprivate

Definition at line 23 of file UIPopupScriptConfigs.c.

24 {
25 if (m_ObjectConfigFilter.GetText() == "")
27 else
29 }
EditBoxWidget m_ObjectConfigFilter
void FindInHierarchy(string class_name)

References ClearHierarchy(), and FindInHierarchy().

Referenced by OnChange().

◆ ClearHierarchy()

void UIPopupScript::ClearHierarchy ( )
inlineprivate

Definition at line 139 of file UIPopupScriptConfigs.c.

140 {
141 // config hierarchy
142 // string config_path = "configfile CfgVehicles APC";
143 // string config_path = "";
144
145 m_ConfigHierarchyTextListbox.ClearItems();
146 m_ConfigVariablesTextListbox.ClearItems();
147
150
151 string config_path = "configfile";
153 for (int i = 0; i < variables.Count(); i++)
154 {
155 string variable = variables.Get(i);
156
157 for (int j = 0; j < base_classes.Count(); j++)
158 {
159 if (variable == base_classes.Get(j))
160 {
161 string new_config_path = (config_path + " " + variable).Trim();
162 m_ConfigHierarchyTextListbox.AddItem("+ " + variable, new ConfigParams(false, variable, 0, new_config_path, 0), 0);
163 }
164 }
165 }
166 }
Param5< bool, string, int, string, int > ConfigParams
Definition Debug.c:14
static void GetBaseConfigClasses(out TStringArray base_classes)
Returns some of base config classes strings like CfgVehicles, CfgWeapons, etc. for searching purposes...
Definition Debug.c:523
TextListboxWidget m_ConfigHierarchyTextListbox
PluginConfigViewer m_ModuleConfigViewer
TextListboxWidget m_ConfigVariablesTextListbox
array< string > TStringArray
Definition EnScript.c:666

References Debug::GetBaseConfigClasses().

Referenced by ChangeConfigFilter(), and OnOpen().

◆ CollapseHierarchy()

void UIPopupScript::CollapseHierarchy ( int row)
inlineprivate

Definition at line 99 of file UIPopupScriptConfigs.c.

100 {
102 return;
103
108
109 int deep = config_params.param5;
110 int deep_next = config_params_next.param5;
111 int max_count = m_ConfigHierarchyTextListbox.GetNumItems();
112 int remove_lines_count = 0;
113 // Print(max_count);
114 for (int i = row + 1; i < max_count; i++)
115 {
116 if (deep < deep_next && i <= max_count)
117 {
121 }
122 }
123
124 // remove remove_lines_count lines from row
125 // remove_lines_count = remove_lines_count - 1;
126 for (i = 1; i < remove_lines_count; i++)
127 {
128 int x = row + 1;
129 if (x < max_count)
131 }
132
133 string offset = "";
134 for (i = 0; i < deep; i++)
135 offset = offset + " ";
136 m_ConfigHierarchyTextListbox.SetItem(row, offset + "+ " + config_params.param2, new ConfigParams(false, config_params.param2, 0, config_params.param4, deep), 0);
137 }
Icon x

References x.

Referenced by OnClick().

◆ ExpandHierarchy()

void UIPopupScript::ExpandHierarchy ( int row)
inlineprivate

Definition at line 63 of file UIPopupScriptConfigs.c.

64 {
66 return;
67
69
70 // get current row data
73
74 string config_path = config_params.param4;
75 int deep = config_params.param5;
76
77 string offset = "";
78 for (int i = 0; i < deep; i++)
79 offset = offset + " ";
80
81 // change selected node
82 variables = m_ModuleConfigViewer.GetConfigHierarchy(config_path);
83 int childrens_count = variables.Count();
85
86 offset = offset + " ";
87
88 // render childrens
89 deep = deep + 1;
91 for (i = variables.Count() - 1; i >= 0; i--)
92 {
93 string new_config_path = (config_path + " " + variables.Get(i)).Trim();
94 m_ConfigHierarchyTextListbox.AddItem(offset + "+ " + variables.Get(i), new ConfigParams(false, variables.Get(i), childrens_count, new_config_path, deep), 0, (row + 1));
95 }
96 }

Referenced by OnClick().

◆ FindInHierarchy()

void UIPopupScript::FindInHierarchy ( string class_name)
inlineprivate

Definition at line 168 of file UIPopupScriptConfigs.c.

169 {
170 m_ConfigHierarchyTextListbox.ClearItems();
171 m_ConfigVariablesTextListbox.ClearItems();
172
173 class_name.ToLower();
174 string config_base_path = "configfile";
175
178
179 string filter_lower = class_name;
180 filter_lower.ToLower();
181
183 filter_lower.Split(" ", filters);
184
185 for (int i = 0; i < base_classes.Count(); i++)
186 {
187 string config_path = config_base_path + " " + base_classes.Get(i);
189
190 for (int j = 0; j < variables.Count(); j++)
191 {
192 string variable = variables.Get(j);
193 string variable_lower = variable;
194 variable_lower.ToLower();
195
196 for (int k = 0; k < filters.Count(); k++)
197 {
198 if (variable_lower.Contains(filters.Get(k)))
199 {
200 string new_config_path = (config_path + " " + variable).Trim();
201 m_ConfigHierarchyTextListbox.AddItem("+ " + variable, new ConfigParams(false, variable, 0, new_config_path, 0), 0);
202 break;
203 }
204 }
205 }
206 }
207 }
class OptionSelectorMultistate extends OptionSelector class_name

References class_name, and Debug::GetBaseConfigClasses().

Referenced by ChangeConfigFilter().

◆ GetCurrentLocationName()

string UIPopupScript::GetCurrentLocationName ( )
inlineprivate

Definition at line 84 of file UIPopupScriptPositionManager.c.

85 {
86 if (m_LstPositionList.GetSelectedRow() != -1)
87 {
88 string position_name;
89 m_LstPositionList.GetItemText(m_LstPositionList.GetSelectedRow(), 0, position_name);
90 return position_name;
91 }
92 return "";
93 }
TextListboxWidget m_LstPositionList

◆ GetSceneEditor()

PluginSceneManager UIPopupScript::GetSceneEditor ( )
inlineprotected

Definition at line 55 of file UIPopupScript.c.

56 {
57 PluginSceneManager m = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
58 return m;
59 }
PluginBase GetPlugin(typename plugin_type)

References GetPlugin().

◆ OnChange() [1/5]

bool UIPopupScript::OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprivate

Definition at line 29 of file UIPopupScript.c.

30 {
31 return false;
32 }

◆ OnChange() [2/5]

override bool UIPopupScript::OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprivate

Definition at line 209 of file UIPopupScriptConfigs.c.

210 {
211 super.OnChange(w, x, y, finished);
212
213 if (w == m_ObjectConfigFilter)
215
216 return false;
217 }
Icon y

References ChangeConfigFilter(), x, and y.

◆ OnChange() [3/5]

override bool UIPopupScript::OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprivate

Definition at line 59 of file UIPopupScriptEditorSettings.c.

60 {
61 if (w == m_EdxRotationDelta)
62 {
63 int angle = m_EdxRotationDelta.GetText().ToInt();
64
65 if (angle > 0)
66 m_ModuleSceneManager.SetRotationAngle(angle);
67
68 return true;
69 }
70
71 return false;
72 }
PluginSceneManager m_ModuleSceneManager
EditBoxWidget m_EdxRotationDelta

◆ OnChange() [4/5]

override bool UIPopupScript::OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprivate

Definition at line 205 of file UIPopupScriptSceneManager.c.

206 {
207 if (w == m_SldStartTime)
208 {
209 float slider_value_start_time = m_SldStartTime.GetCurrent() * 0.01;
212 m_CurrHour = start_time / 60;
214
216
218
219 return true;
220 }
221 else if (w == m_SldStartDay)
222 {
223 float slider_value_start_day = m_SldStartDay.GetCurrent();
224 float start_day_f = slider_value_start_day * 3.64 + 1;
226
227 for (int i = 0; i < 12; i++)
228 {
229 int days = m_DaysInMonth[i];
230 if (start_day <= days)
231 {
232 m_CurrMonth = i + 1;
234 break;
235 }
236 else
237 start_day -= days;
238 }
239
241
243
244 return true;
245 }
246 else if (w == m_SldOvercast)
247 {
248 m_CurrOvercast = m_SldOvercast.GetCurrent() * 0.01;
249 GetGame().GetWeather().GetOvercast().Set(m_CurrOvercast, 0, 1000);
250
252
253 return true;
254 }
255 else if (w == m_SldRain)
256 {
257 m_CurrRain = m_SldRain.GetCurrent() * 0.01;
258 GetGame().GetWeather().GetRain().Set(m_CurrRain, 0, 1000);
259
261
262 return true;
263 }
264 else if (w == m_SldFog)
265 {
266 m_CurrFog = m_SldFog.GetCurrent() * 0.01;
267 GetGame().GetWeather().GetFog().Set(m_CurrFog, 0, 1000);
268
270
271 return true;
272 }
273 else if (w == m_SldWindForce)
274 {
275 float wind_slider = m_SldWindForce.GetCurrent() * 0.01;
276 m_CurrWindForce = GetGame().GetWeather().GetWindMaximumSpeed() * wind_slider;
277 GetGame().GetWeather().SetWindSpeed(m_CurrWindForce);
278
280
281 return true;
282 }
283
284 return false;
285 }
void UpdateSliderStartTime(int hour, int minute)
static const int m_DaysInMonth[12]
void UpdateSliderStartDay(int month, int day)

References GetGame(), UpdateSliderFog(), UpdateSliderOvercast(), UpdateSliderRain(), UpdateSliderStartDay(), UpdateSliderStartTime(), and UpdateSliderWindForce().

◆ OnChange() [5/5]

override bool UIPopupScript::OnChange ( Widget w,
int x,
int y,
bool finished )
inlineprivate

Definition at line 115 of file UIPopupScriptSceneSettings.c.

116 {
117 if (w == m_SldStartTime)
118 {
119 float slider_value_start_time = m_SldStartTime.GetCurrent() * 0.01;
122 m_CurrHour = start_time / 60;
124
126
128
129 return true;
130 }
131 else if (w == m_SldStartDay)
132 {
133 float slider_value_start_day = m_SldStartDay.GetCurrent();
134 float start_day_f = slider_value_start_day * 3.64 + 1;
136
137 for (int i = 0; i < 12; i++)
138 {
139 int days = m_DaysInMonth[i];
140 if (start_day <= days)
141 {
142 m_CurrMonth = i + 1;
144 break;
145 }
146 else
147 start_day -= days;
148 }
149
151
153
154 return true;
155 }
156 else if (w == m_SldOvercast)
157 {
159
160 m_CurrOvercast = m_SldOvercast.GetCurrent() * 0.01;
161 GetGame().GetWeather().GetOvercast().Set(m_CurrOvercast, 0, 1000);
162
163 return true;
164 }
165 else if (w == m_SldRain)
166 {
168
169 m_CurrRain = m_SldRain.GetCurrent() * 0.01;
170 GetGame().GetWeather().GetRain().Set(m_CurrRain, 0, 1000);
171
172 return true;
173 }
174 else if (w == m_SldFog)
175 {
177
178 m_CurrFog = m_SldFog.GetCurrent() * 0.01;
179 GetGame().GetWeather().GetFog().Set(m_CurrFog, 0, 1000);
180
181 return true;
182 }
183 else if (w == m_SldWindForce)
184 {
186
187 m_CurrWindForce = m_SldWindForce.GetCurrent() * 0.01;
188 //GetGame().GetWeather().SetWindSpeed( m_CurrWindForce );
189
190 return true;
191 }
192
193 return false;
194 }

References GetGame(), UpdateSliderFog(), UpdateSliderOvercast(), UpdateSliderRain(), UpdateSliderStartDay(), UpdateSliderStartTime(), and UpdateSliderWindForce().

◆ OnClick() [1/13]

bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 24 of file UIPopupScript.c.

25 {
26 return false;
27 }

◆ OnClick() [2/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 219 of file UIPopupScriptConfigs.c.

220 {
221 super.OnClick(w, x, y, button);
222
223 if (w == m_BtnOk)
224 {
225 PopupBack();
226 return true;
227 }
228 else if (w == m_BtnCancel)
229 {
230 PopupBack();
231 return true;
232 }
233 else if (w == m_BtnCopyToClipboard)
234 {
236 return true;
237 }
239 {
240 int objects_row_index = m_ConfigHierarchyTextListbox.GetSelectedRow();
241
243 {
246
247 if (config_params.param1 == false)
249 else
252 }
253
254 return true;
255 }
256
257 return false;
258 }
void AddItemToClipboard(TextListboxWidget text_listbox_widget)
ButtonWidget m_BtnOk
UIPopupScript PopupBack()
void RenderVariables(int row)
ButtonWidget m_BtnCancel
void ExpandHierarchy(int row)
ButtonWidget m_BtnCopyToClipboard
void CollapseHierarchy(int row)

References AddItemToClipboard(), CollapseHierarchy(), ExpandHierarchy(), PopupBack(), RenderVariables(), x, and y.

◆ OnClick() [3/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 38 of file UIPopupScriptEditorSettings.c.

39 {
40 super.OnClick(w, x, y, button);
41
43 m_ModuleSceneManager.SetDrawSelection(m_WgtTglSeleHighlight.IsChecked());
44 else if (w == m_WgtTglSavePlayerPos)
45 m_ModuleSceneManager.SetLoadPlayerPos(m_WgtTglSavePlayerPos.IsChecked());
46 else if (w == m_BtnCancel)
47 {
48 PopupBack();
49
50 return true;
51 }
52
53 return false;
54 }
CheckBoxWidget m_WgtTglSeleHighlight
CheckBoxWidget m_WgtTglSavePlayerPos

References PopupBack(), x, and y.

◆ OnClick() [4/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 53 of file UIPopupScriptInitScript.c.

54 {
55 super.OnClick(w, x, y, button);
56
57 if (w == m_BtnRun)
58 {
59 if (m_SceneObject != NULL)
60 {
61 string text_run;
64 }
65 }
66 else if (w == m_BtnSave)
67 {
68 if (m_SceneObject != NULL)
69 {
70 string text_script;
73 }
74
75 PopupBack();
76
77 return true;
78 }
79 else if (w == m_BtnCancel)
80 {
81 PopupBack();
82
83 return true;
84 }
85
86 return false;
87 }
void SetInitScript(string init_script)
Definition SceneObject.c:89
MultilineEditBoxWidget m_MedxInitScript

References PopupBack(), SceneObject::SetInitScript(), x, and y.

◆ OnClick() [5/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 18 of file UIPopupScriptNotify.c.

19 {
20 super.OnClick(w, x, y, button);
21
22 if (w == m_BtnOk)
23 {
24 PopupBack();
25
26 return true;
27 }
28
29 return false;
30 }

References PopupBack(), x, and y.

◆ OnClick() [6/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 55 of file UIPopupScriptPositionManager.c.

56 {
57 if (w == m_TeleportButton)
58 {
59 float pos_x = m_TxtSelectedX.GetText().ToFloat();
60 float pos_z = m_TxtSelectedY.GetText().ToFloat();
61
62 PluginSceneManager.GetInstance().SelectedObjectSetPosX(pos_x);
63 PluginSceneManager.GetInstance().SelectedObjectSetPosZ(pos_z);
64 PopupBack();
65 return true;
66 }
67 else if (w == m_CancelButton)
68 {
69 PopupBack();
70 return true;
71 }
72 return false;
73 }

References PopupBack().

◆ OnClick() [7/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 18 of file UIPopupScriptPresetNew.c.

19 {
20 super.OnClick(w, x, y, button);
21
22 if (w == m_BtnOk)
23 {
24 EditBoxWidget wgt_text = EditBoxWidget.Cast(m_WgtRoot.FindAnyWidget("fld_ppp_pn_new_name"));
26 m_ConfigDebugProfile.PresetAdd(wgt_text.GetText());
27
28 SceneEditorMenu menu = SceneEditorMenu.Cast(GetGame().GetUIManager().GetMenu());
29 menu.RefreshLists();
30 PopupBack();
31
32 return true;
33 }
34 else if (w == m_BtnCancel)
35 {
36 PopupBack();
37
38 return true;
39 }
40
41 return false;
42 }
PluginConfigDebugProfile m_ConfigDebugProfile

References GetGame(), GetPlugin(), m_ConfigDebugProfile, m_WgtRoot, PopupBack(), x, and y.

◆ OnClick() [8/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 26 of file UIPopupScriptPresetRename.c.

27 {
28 super.OnClick(w, x, y, button);
29
30 if (w == m_BtnOk)
31 {
32 EditBoxWidget wgt_text = EditBoxWidget.Cast(m_WgtRoot.FindAnyWidget("fld_ppp_pr_new_name"));
33 SceneEditorMenu menu = SceneEditorMenu.Cast(GetGame().GetUIManager().GetMenu());
34 menu.RenamePreset(wgt_text.GetText());
35 menu.RefreshLists();
36
37 PopupBack();
38
39 return true;
40 }
41 else if (w == m_BtnCancel)
42 {
43 PopupBack();
44 return true;
45 }
46
47 return false;
48 }

References GetGame(), m_WgtRoot, PopupBack(), x, and y.

◆ OnClick() [9/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 19 of file UIPopupScriptSceneDelete.c.

20 {
21 super.OnClick(w, x, y, button);
22
23 if (w == m_BtnYes)
24 {
25 PluginSceneManager editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
26
27 editor.SceneDelete(m_DeleteScene);
28
29 PopupBack();
30
31 return true;
32 }
33 else if (w == m_BtnNo)
34 {
36 PopupBack();
37 return true;
38 }
39
40 return false;
41 }
const string STRING_EMPTY
Definition constants.c:54

References GetPlugin(), PopupBack(), STRING_EMPTY, x, and y.

◆ OnClick() [10/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 95 of file UIPopupScriptSceneManager.c.

96 {
97 super.OnClick(w, x, y, button);
98
99 string scene_name;
100 PluginSceneManager editor;
101
102 if (w == m_BtnCancel)
103 {
105
106 Weather weather = GetGame().GetWeather();
107 weather.GetOvercast().Set(m_OrigOvercast, 0, 1000);
108 weather.GetRain().Set(m_OrigRain, 0, 1000);
109 weather.GetFog().Set(m_OrigFog, 0, 1000);
110 weather.SetWindSpeed(m_OrigWindForce);
111
112 PopupBack();
113 return true;
114 }
115 else if (w == m_BtnSceneNew)
116 {
117 PopupOpen(SceneEditorMenu.POPUP_ID_SCENE_NEW, NULL);
118
119 return true;
120 }
121 else if (w == m_BtnSceneLoad)
122 {
123 if (m_LstListScenes.GetSelectedRow() != -1)
124 {
125 m_LstListScenes.GetItemText(m_LstListScenes.GetSelectedRow(), 0, scene_name);
126 editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
127
128 editor.SceneLoad(scene_name);
129 PopupBack();
130
131 return true;
132 }
133 }
134 else if (w == m_BtnSceneRename)
135 {
136 m_LstListScenes.GetItemText(m_LstListScenes.GetSelectedRow(), 0, scene_name);
137
138 UIPopupScriptSceneRename popup_rename = UIPopupScriptSceneRename.Cast(PopupOpen(SceneEditorMenu.POPUP_ID_SCENE_RENAME, NULL));
139 popup_rename.SetRenameName(scene_name);
140
141 return true;
142 }
143 else if (w == m_BtnSceneDuplicate)
144 {
145 if (m_LstListScenes.GetSelectedRow() != -1)
146 {
147 m_LstListScenes.GetItemText(m_LstListScenes.GetSelectedRow(), 0, scene_name);
148 editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
149
150 editor.SceneDuplicate(scene_name);
152
153 return true;
154 }
155 }
156 else if (w == m_BtnSceneDelete)
157 {
158 if (m_LstListScenes.GetSelectedRow() != -1)
159 {
160 m_LstListScenes.GetItemText(m_LstListScenes.GetSelectedRow(), 0, scene_name);
161 editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
162
163 editor.SceneDelete(scene_name);
164
165 if (editor.SceneCanDelete(scene_name))
166 {
167 UIPopupScriptSceneDelete popup_delete = UIPopupScriptSceneDelete.Cast(PopupOpen(SceneEditorMenu.POPUP_ID_SCENE_DELETE, NULL));
168 popup_delete.SetDeleteName(scene_name);
169 }
170 else
171 {
172 UIPopupScriptNotify popup_notify = UIPopupScriptNotify.Cast(PopupOpen(SceneEditorMenu.POPUP_ID_NOTIFY, NULL));
173 popup_notify.SetLabelText("You cant delete current loaded scene!");
174 }
175
177 return true;
178 }
179 }
180 else if (w == m_BtnSave)
181 {
191
192 editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
195 editor.SceneSave();
196
197 PopupBack();
198
199 return true;
200 }
201
202 return false;
203 }
ButtonWidget m_BtnSceneDelete
TextListboxWidget m_LstListScenes
ButtonWidget m_BtnSceneDuplicate
void UIPopupScriptSceneDelete(Widget wgt)
UIPopupScript PopupOpen(int popup_id, Param param)
void UIPopupScriptSceneRename(Widget wgt)
void UIPopupScriptNotify(Widget wgt)
ButtonWidget m_BtnSceneRename

References GetGame(), GetPlugin(), m_CurrDay, m_CurrFog, m_CurrHour, m_CurrMinute, m_CurrMonth, m_CurrOvercast, m_CurrRain, m_CurrWindForce, m_CurrYear, PopupBack(), PopupOpen(), UpdateSceneList(), x, and y.

◆ OnClick() [11/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 18 of file UIPopupScriptSceneNew.c.

19 {
20 super.OnClick(w, x, y, button);
21
22 if (w == m_BtnOk)
23 {
24 EditBoxWidget wgt_text = EditBoxWidget.Cast(m_WgtRoot.FindAnyWidget("fld_ppp_sn_new_name"));
25
26 PluginSceneManager editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
27
28 Log("OnClick -> SceneLoad");
29
30 editor.SceneLoad(wgt_text.GetText());
31 editor.SceneSave();
32
33 PopupBack();
34
35 return true;
36 }
37 else if (w == m_BtnCancel)
38 {
39 PopupBack();
40
41 return true;
42 }
43
44 return false;
45 }
class LogTemplates Log(string message, LogTemplateID template_id=0)
Creates debug log (optional) from LogTemplate which are registred.

References GetPlugin(), Log(), m_WgtRoot, PopupBack(), x, and y.

◆ OnClick() [12/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 19 of file UIPopupScriptSceneRename.c.

20 {
21 super.OnClick(w, x, y, button);
22
23 if (w == m_BtnOk)
24 {
25 EditBoxWidget wgt_text = EditBoxWidget.Cast(m_WgtRoot.FindAnyWidget("fld_ppp_sn_rnm_new_name"));
26
27 PluginSceneManager editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
28
29 editor.SceneRename(m_RenameName, wgt_text.GetText());
31
32 PopupBack();
33
34 return true;
35 }
36 else if (w == m_BtnCancel)
37 {
38 PopupBack();
39
40 return true;
41 }
42
43 return false;
44 }

References GetPlugin(), m_WgtRoot, PopupBack(), STRING_EMPTY, x, and y.

◆ OnClick() [13/13]

override bool UIPopupScript::OnClick ( Widget w,
int x,
int y,
int button )
inlineprivate

Definition at line 79 of file UIPopupScriptSceneSettings.c.

80 {
81 super.OnClick(w, x, y, button);
82
83 if (w == m_BtnSave)
84 {
94
95 PluginSceneManager editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
98
99 PopupBack();
100
101 return true;
102 }
103 else if (w == m_BtnCancel)
104 {
105
106 PopupBack();
107
108 return true;
109 }
110
111 return false;
112 }

References GetPlugin(), m_CurrDay, m_CurrFog, m_CurrHour, m_CurrMinute, m_CurrMonth, m_CurrOvercast, m_CurrRain, m_CurrWindForce, m_CurrYear, PopupBack(), x, and y.

◆ OnClose() [1/3]

void UIPopupScript::OnClose ( )
inlineprivate

Definition at line 15 of file UIPopupScript.c.

16 {
17 }

◆ OnClose() [2/3]

override void UIPopupScript::OnClose ( )
inlineprivate

Definition at line 347 of file UIPopupScriptSceneManager.c.

348 {
349 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Remove(this.OnUpdate);
350 }

References CALL_CATEGORY_SYSTEM, GetGame(), and OnUpdate().

◆ OnClose() [3/3]

override void UIPopupScript::OnClose ( )
inlineprivate

Definition at line 231 of file UIPopupScriptSceneSettings.c.

232 {
233 Weather weather = GetGame().GetWeather();
234
236 weather.GetOvercast().Set(m_OrigOvercast, 0, 1000);
237 weather.GetRain().Set(m_OrigRain, 0, 1000);
238 weather.GetFog().Set(m_OrigFog, 0, 1000);
239 //weather.SetWindSpeed( m_OrigWindForce );
240 }

References GetGame().

◆ OnItemSelected()

void UIPopupScript::OnItemSelected ( Widget w,
int x,
int y,
int row,
int column,
int oldRow,
int oldColumn )
inlineprivate

Definition at line 75 of file UIPopupScriptPositionManager.c.

76 {
77 /*
78 vector position = m_ConfigDebugProfileFixed.GetPositionByNameEx( GetCurrentLocationName() );
79 m_TxtSelectedX.SetText( position[0].ToString() );
80 m_TxtSelectedY.SetText( position[2].ToString() );
81 */
82 }

◆ OnOpen() [1/8]

void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 11 of file UIPopupScript.c.

12 {
13 }

◆ OnOpen() [2/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 31 of file UIPopupScriptConfigs.c.

32 {
33 m_ModuleConfigViewer = PluginConfigViewer.Cast(GetPlugin(PluginConfigViewer));
35 }

References ClearHierarchy(), and GetPlugin().

◆ OnOpen() [3/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 28 of file UIPopupScriptEditorSettings.c.

29 {
30 m_WgtTglSeleHighlight.SetChecked(m_ModuleSceneManager.GetDrawSelection());
31 m_WgtTglSavePlayerPos.SetChecked(m_ModuleSceneManager.GetLoadPlayerPos());
32 m_EdxRotationDelta.SetText(m_ModuleSceneManager.GetRotationAngle().ToString());
33 }

◆ OnOpen() [4/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 31 of file UIPopupScriptInitScript.c.

References SceneObject::GetInitScript().

◆ OnOpen() [5/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 38 of file UIPopupScriptPositionManager.c.

39 {
40 if (PluginSceneManager.GetInstance())
41 {
42 if (PluginSceneManager.GetInstance().GetSelectedSceneObject())
43 {
44 vector player_pos = PluginSceneManager.GetInstance().GetSelectedSceneObject().GetPosition();
45
46 m_TxtCurrentX.SetText(player_pos[0].ToString());
47 m_TxtCurrentY.SetText(player_pos[2].ToString());
48 }
49 }
50 }
proto string ToString()

References ToString().

◆ OnOpen() [6/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 17 of file UIPopupScriptPresetRename.c.

18 {
19 SceneEditorMenu menu = SceneEditorMenu.Cast(GetGame().GetUIManager().GetMenu());
20 m_Editbox.SetText(menu.GetCurrentPresetName());
21 }

References GetGame().

◆ OnOpen() [7/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 313 of file UIPopupScriptSceneManager.c.

314 {
315 //Log("Poup Scene Manager OnOpen");
316
319
320 Weather weather = GetGame().GetWeather();
321 m_OrigOvercast = weather.GetOvercast().GetActual();
322 m_OrigRain = weather.GetRain().GetActual();
323 m_OrigFog = weather.GetFog().GetActual();
324 m_OrigWindForce = weather.GetWindSpeed();
325
335
336 Print("Year");
338
339 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Insert(this.OnUpdate);
340
341 ResetSliders();
342 }
proto void Print(void var)
Prints content of variable to console/log.

References CALL_CATEGORY_SYSTEM, GetGame(), m_OrigDay, m_OrigFog, m_OrigHour, m_OrigMinute, m_OrigMonth, m_OrigOvercast, m_OrigRain, m_OrigWindForce, m_OrigYear, OnUpdate(), Print(), ResetSliders(), and UpdateSceneList().

◆ OnOpen() [8/8]

override void UIPopupScript::OnOpen ( Param param)
inlineprivate

Definition at line 199 of file UIPopupScriptSceneSettings.c.

200 {
202
203 Weather weather = GetGame().GetWeather();
204
205 m_OrigOvercast = weather.GetOvercast().GetActual();
206 m_OrigRain = weather.GetRain().GetActual();
207 m_OrigFog = weather.GetFog().GetActual();
208 m_OrigWindForce = weather.GetWindSpeed();
209
219
220 Print("Year");
222
223 GetGame().GetUpdateQueue(CALL_CATEGORY_SYSTEM).Insert(this.OnUpdate);
224
225 ResetSliders();
226 }

References CALL_CATEGORY_SYSTEM, GetGame(), m_OrigDay, m_OrigFog, m_OrigHour, m_OrigMinute, m_OrigMonth, m_OrigOvercast, m_OrigRain, m_OrigWindForce, m_OrigYear, OnUpdate(), Print(), and ResetSliders().

◆ OnUpdate() [1/2]

void UIPopupScript::OnUpdate ( )
inlineprivate

Definition at line 355 of file UIPopupScriptSceneManager.c.

356 {
357 m_TxtWeatherTime.SetText(GetGame().GetWeather().GetTime().ToString());
358 }
float GetTime()

References GetGame(), GetTime(), and ToString().

◆ OnUpdate() [2/2]

void UIPopupScript::OnUpdate ( )
inlineprivate

Definition at line 245 of file UIPopupScriptSceneSettings.c.

246 {
247 m_TxtWeatherTime.SetText(GetGame().GetWeather().GetTime().ToString());
248 }

References GetGame(), GetTime(), and ToString().

◆ PopupBack()

UIPopupScript UIPopupScript::PopupBack ( )
inlineprotected

Definition at line 37 of file UIPopupScript.c.

38 {
39 SceneEditorMenu menu = SceneEditorMenu.Cast(GetGame().GetUIManager().GetMenu());
40 return menu.PopupBack();
41 }

References GetGame().

Referenced by OnClick().

◆ PopupOpen()

UIPopupScript UIPopupScript::PopupOpen ( int popup_id,
Param param )
inlineprotected

Definition at line 46 of file UIPopupScript.c.

47 {
48 SceneEditorMenu menu = SceneEditorMenu.Cast(GetGame().GetUIManager().GetMenu());
49 return menu.PopupOpen(popup_id, param);
50 }

References GetGame().

Referenced by OnClick().

◆ RenderVariables()

void UIPopupScript::RenderVariables ( int row)
inlineprivate

Definition at line 48 of file UIPopupScriptConfigs.c.

49 {
51 if (row > -1 && row < m_ConfigHierarchyTextListbox.GetNumItems())
52 {
56 string path = config_params.param4;
57 variables = m_ModuleConfigViewer.GetConfigVariables(path);
58 for (int i = 0; i < variables.Count(); i++)
60 }
61 }

References path.

Referenced by OnClick().

◆ ResetSliders() [1/2]

void UIPopupScript::ResetSliders ( )
inlineprivate

Definition at line 363 of file UIPopupScriptSceneManager.c.

364 {
365 int year, month, day, hour, minute;
366 GetGame().GetWorld().GetDate(year, month, day, hour, minute);
367 m_SldStartTime.SetCurrent(((hour * 60) + minute) / 14.39);
369
370 float start_day = day;
371 int month_tmp = month;
372 while (month_tmp > 1)
373 {
374 month_tmp--;
376 }
377 m_SldStartDay.SetCurrent(start_day / 3.64);
379
380 Weather weather = GetGame().GetWeather();
381
382 m_SldOvercast.SetCurrent(weather.GetOvercast().GetActual() * 100);
384
385 m_SldRain.SetCurrent(weather.GetRain().GetActual() * 100);
387
388 m_SldFog.SetCurrent(weather.GetFog().GetActual() * 100);
390
391 float wind_slider = m_SldWindForce.GetCurrent() * 0.01;
392 m_CurrWindForce = weather.GetWindMaximumSpeed() * wind_slider;
393 weather.SetWindSpeed(m_CurrWindForce);
395 }

References GetGame(), UpdateSliderFog(), UpdateSliderOvercast(), UpdateSliderRain(), UpdateSliderStartDay(), UpdateSliderStartTime(), and UpdateSliderWindForce().

Referenced by OnOpen().

◆ ResetSliders() [2/2]

void UIPopupScript::ResetSliders ( )
inlineprivate

Definition at line 253 of file UIPopupScriptSceneSettings.c.

254 {
255 int year, month, day, hour, minute;
256 GetGame().GetWorld().GetDate(year, month, day, hour, minute);
257 m_SldStartTime.SetCurrent(((hour * 60) + minute) / 14.39);
259
260 float start_day = day;
261 int month_tmp = month;
262 while (month_tmp > 1)
263 {
264 month_tmp--;
266 }
267 m_SldStartDay.SetCurrent(start_day / 3.64);
269
270 Weather weather = GetGame().GetWeather();
271
272 m_SldOvercast.SetCurrent(weather.GetOvercast().GetActual() * 100);
274
275 m_SldRain.SetCurrent(weather.GetRain().GetActual() * 100);
277
278 m_SldFog.SetCurrent(weather.GetFog().GetActual() * 100);
280
281 float slider_wind_value = (weather.GetWindSpeed() / weather.GetWindMaximumSpeed()) * 100;
284 }

References GetGame(), UpdateSliderFog(), UpdateSliderOvercast(), UpdateSliderRain(), UpdateSliderStartDay(), UpdateSliderStartTime(), and UpdateSliderWindForce().

◆ SetDeleteName()

void UIPopupScript::SetDeleteName ( string scene_name)
inlineprivate

Definition at line 43 of file UIPopupScriptSceneDelete.c.

44 {
46 }

◆ SetLabelText()

void UIPopupScript::SetLabelText ( string text)
inlineprivate

Definition at line 35 of file UIPopupScriptNotify.c.

36 {
37 m_TxtLabel.SetText(text);
38 }
TextWidget m_TxtLabel

◆ SetRenameName()

void UIPopupScript::SetRenameName ( string rename_name)
inlineprivate

Definition at line 49 of file UIPopupScriptSceneRename.c.

50 {
52 }

◆ Show()

void UIPopupScript::Show ( bool show)
inlineprivate

Definition at line 19 of file UIPopupScript.c.

20 {
21 m_WgtRoot.Show(show);
22 }

References m_WgtRoot.

Referenced by UIScriptedMenu::PopupOpen().

◆ UIPopupScriptConfigs()

void UIPopupScript::UIPopupScriptConfigs ( Widget wgt)
inlineprivate

Definition at line 14 of file UIPopupScriptConfigs.c.

15 {
16 m_BtnOk = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pc_ok"));
17 m_ConfigHierarchyTextListbox = TextListboxWidget.Cast(wgt.FindAnyWidget("ConfigHierarchy"));
18 m_ConfigVariablesTextListbox = TextListboxWidget.Cast(wgt.FindAnyWidget("ConfigVariables"));
19 m_BtnCopyToClipboard = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pc_copy"));
20 m_ObjectConfigFilter = EditBoxWidget.Cast(wgt.FindAnyWidget("ObjectConfigFilter"));
21 }

◆ UIPopupScriptEditorSettings()

void UIPopupScript::UIPopupScriptEditorSettings ( Widget wgt)
inlineprivate

Definition at line 14 of file UIPopupScriptEditorSettings.c.

15 {
16 m_ModuleSceneManager = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
17
18 m_WgtTglSeleHighlight = CheckBoxWidget.Cast(wgt.FindAnyWidget("cbx_ppp_est_flag_selection"));
19 m_WgtTglSavePlayerPos = CheckBoxWidget.Cast(wgt.FindAnyWidget("cbx_ppp_est_flag_load_player_pos"));
20 m_EdxRotationDelta = EditBoxWidget.Cast(wgt.FindAnyWidget("ebx_ppp_est_rotation_delta_value"));
21
22 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_est_cancel"));
23 }

References GetPlugin().

◆ UIPopupScriptInitScript()

void UIPopupScript::UIPopupScriptInitScript ( Widget wgt)
inlineprivate

Definition at line 17 of file UIPopupScriptInitScript.c.

18 {
19 m_ModuleSceneManager = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
20
21 m_MedxInitScript = MultilineEditBoxWidget.Cast(wgt.FindAnyWidget("pnl_ppp_is_init_script_value"));
22
23 m_BtnRun = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_is_run"));
24 m_BtnSave = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_is_save"));
25 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_is_cancel"));
26 }

References GetPlugin().

◆ UIPopupScriptNotify()

void UIPopupScript::UIPopupScriptNotify ( Widget wgt)
inlineprivate

Definition at line 9 of file UIPopupScriptNotify.c.

10 {
11 m_BtnOk = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_notify_ok"));
12 m_TxtLabel = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_notify_label"));
13 }

◆ UIPopupScriptPositionManager()

void UIPopupScript::UIPopupScriptPositionManager ( Widget wgt)
inlineprivate

Definition at line 15 of file UIPopupScriptPositionManager.c.

16 {
17 m_ConfigDebugProfileFixed = PluginConfigDebugProfileFixed.Cast(GetPlugin(PluginConfigDebugProfileFixed));
18 m_LstPositionList = TextListboxWidget.Cast(wgt.FindAnyWidget("tls_ppp_pm_positions_list"));
19 m_TxtSelectedX = EditBoxWidget.Cast(wgt.FindAnyWidget("pnl_ppp_pm_selected_x_value"));
20 m_TxtSelectedY = EditBoxWidget.Cast(wgt.FindAnyWidget("pnl_ppp_pm_selected_y_value"));
21 m_TxtCurrentX = EditBoxWidget.Cast(wgt.FindAnyWidget("pnl_ppp_pm_current_x_value"));
22 m_TxtCurrentY = EditBoxWidget.Cast(wgt.FindAnyWidget("pnl_ppp_pm_current_y_value"));
23 m_TeleportButton = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pm_teleport"));
24 m_CancelButton = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pm_cancel"));
25 /*
26 TStringArray positions_array = new TStringArray;
27 m_ConfigDebugProfileFixed.GetAllPositionsNames( positions_array );
28
29 for ( int i = 0; i < positions_array.Count(); i++ )
30 {
31 m_LstPositionList.AddItem( positions_array.Get(i), new LocationParams ( positions_array.Get(i), false, vector.Zero), 0);
32 }*/
33 }
PluginConfigDebugProfileFixed m_ConfigDebugProfileFixed

References GetPlugin().

◆ UIPopupScriptPresetNew()

void UIPopupScript::UIPopupScriptPresetNew ( Widget wgt)
inlineprivate

Definition at line 9 of file UIPopupScriptPresetNew.c.

10 {
11 m_BtnOk = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pn_ok"));
12 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pn_cancel"));
13 }

◆ UIPopupScriptPresetRename()

void UIPopupScript::UIPopupScriptPresetRename ( Widget wgt)
inlineprivate

Definition at line 10 of file UIPopupScriptPresetRename.c.

11 {
12 m_BtnOk = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pr_ok"));
13 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_pr_cancel"));
14 m_Editbox = EditBoxWidget.Cast(wgt.FindAnyWidget("fld_ppp_pr_new_name"));
15 }

◆ UIPopupScriptSceneDelete()

void UIPopupScript::UIPopupScriptSceneDelete ( Widget wgt)
inlineprivate

Definition at line 10 of file UIPopupScriptSceneDelete.c.

11 {
12 m_BtnYes = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sn_dlt_yes"));
13 m_BtnNo = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sn_dlt_no"));
14 }

◆ UIPopupScriptSceneManager()

void UIPopupScript::UIPopupScriptSceneManager ( Widget wgt)
inlineprivate

Definition at line 53 of file UIPopupScriptSceneManager.c.

54 {
55 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sm_cancel"));
56 m_BtnSceneNew = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sm_mission_new"));
57 m_BtnSceneLoad = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sm_mission_load"));
58 m_BtnSceneRename = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sm_mission_rename"));
59 m_BtnSceneDelete = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sm_mission_delete"));
60 m_BtnSceneDuplicate = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sm_mission_duplicate"));
61
62 m_LstListScenes = TextListboxWidget.Cast(wgt.FindAnyWidget("tls_ppp_sm_scene_list"));
63
64 m_BtnSave = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_st_save"));
65
66 m_TxtWeatherTime = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_w_time_value"));
67
68 m_SldStartTime = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_start_time"));
69 m_TxtStartTimeValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_start_time_value"));
70
71 m_SldStartDay = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_start_day"));
72 m_TxtStartDayValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_start_day_value"));
73
74 m_SldOvercast = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_overcast"));
75 m_TxtOvercastValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_overcast_value"));
76
77 m_SldRain = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_rain"));
78 m_TxtRainValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_rain_value"));
79
80 m_SldFog = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_fog"));
81 m_TxtFogValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_fog_value"));
82
83 m_SldWindForce = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_wind_force"));
84 m_TxtWindForceValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_wind_force_value"));
85 }

◆ UIPopupScriptSceneNew()

void UIPopupScript::UIPopupScriptSceneNew ( Widget wgt)
inlineprivate

Definition at line 9 of file UIPopupScriptSceneNew.c.

10 {
11 m_BtnOk = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sn_ok"));
12 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sn_cancel"));
13 }

◆ UIPopupScriptSceneRename()

void UIPopupScript::UIPopupScriptSceneRename ( Widget wgt)
inlineprivate

Definition at line 10 of file UIPopupScriptSceneRename.c.

11 {
12 m_BtnOk = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sn_rnm_ok"));
13 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_sn_rnm_cancel"));
14 }

◆ UIPopupScriptSceneSettings()

void UIPopupScript::UIPopupScriptSceneSettings ( Widget wgt)
inlineprivate

Definition at line 46 of file UIPopupScriptSceneSettings.c.

47 {
48 m_BtnSave = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_st_save"));
49 m_BtnCancel = ButtonWidget.Cast(wgt.FindAnyWidget("btn_ppp_st_cancel"));
50
51 m_TxtWeatherTime = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_w_time_value"));
52
53 m_SldStartTime = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_start_time"));
54 m_TxtStartTimeValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_start_time_value"));
55
56 m_SldStartDay = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_start_day"));
57 m_TxtStartDayValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_start_day_value"));
58
59 m_SldOvercast = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_overcast"));
60 m_TxtOvercastValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_overcast_value"));
61
62 m_SldRain = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_rain"));
63 m_TxtRainValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_rain_value"));
64
65 m_SldFog = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_fog"));
66 m_TxtFogValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_fog_value"));
67
68 m_SldWindForce = SliderWidget.Cast(wgt.FindAnyWidget("sld_ppp_st_wind_force"));
69 m_TxtWindForceValue = TextWidget.Cast(wgt.FindAnyWidget("txt_ppp_st_wind_force_value"));
70 }

◆ UpdateSceneList()

void UIPopupScript::UpdateSceneList ( )
inlineprivate

Definition at line 290 of file UIPopupScriptSceneManager.c.

291 {
292 m_LstListScenes.ClearItems();
293
294 PluginSceneManager editor = PluginSceneManager.Cast(GetPlugin(PluginSceneManager));
295
296 TStringArray scene_list = editor.GetSceneList();
297 string loaded_scene_name = editor.SceneGetName();
298
299 for (int i = 0; i < scene_list.Count(); ++i)
300 {
301 string scene_name = scene_list.Get(i);
302
303 m_LstListScenes.AddItem(scene_name, NULL, 0);
304
306 m_LstListScenes.SelectRow(i);
307 }
308 }

References GetPlugin().

Referenced by OnClick(), and OnOpen().

◆ UpdateSliderFog() [1/2]

void UIPopupScript::UpdateSliderFog ( )
inlineprivate

Definition at line 421 of file UIPopupScriptSceneManager.c.

422 {
423 string label_text = m_SldFog.GetCurrent().ToString() + "%";
424 m_TxtFogValue.SetText(label_text);
425 }

Referenced by OnChange(), and ResetSliders().

◆ UpdateSliderFog() [2/2]

void UIPopupScript::UpdateSliderFog ( )
inlineprivate

Definition at line 310 of file UIPopupScriptSceneSettings.c.

311 {
312 string label_text = m_SldFog.GetCurrent().ToString() + "%";
313 m_TxtFogValue.SetText(label_text);
314 }

◆ UpdateSliderOvercast() [1/2]

void UIPopupScript::UpdateSliderOvercast ( )
inlineprivate

Definition at line 409 of file UIPopupScriptSceneManager.c.

410 {
411 string label_text = m_SldOvercast.GetCurrent().ToString() + "%";
413 }

Referenced by OnChange(), and ResetSliders().

◆ UpdateSliderOvercast() [2/2]

void UIPopupScript::UpdateSliderOvercast ( )
inlineprivate

Definition at line 298 of file UIPopupScriptSceneSettings.c.

299 {
300 string label_text = m_SldOvercast.GetCurrent().ToString() + "%";
302 }

◆ UpdateSliderRain() [1/2]

void UIPopupScript::UpdateSliderRain ( )
inlineprivate

Definition at line 415 of file UIPopupScriptSceneManager.c.

416 {
417 string label_text = m_SldRain.GetCurrent().ToString() + "%";
418 m_TxtRainValue.SetText(label_text);
419 }

Referenced by OnChange(), and ResetSliders().

◆ UpdateSliderRain() [2/2]

void UIPopupScript::UpdateSliderRain ( )
inlineprivate

Definition at line 304 of file UIPopupScriptSceneSettings.c.

305 {
306 string label_text = m_SldRain.GetCurrent().ToString() + "%";
307 m_TxtRainValue.SetText(label_text);
308 }

◆ UpdateSliderStartDay() [1/2]

void UIPopupScript::UpdateSliderStartDay ( int month,
int day )
inlineprivate

Definition at line 403 of file UIPopupScriptSceneManager.c.

404 {
405 string label_text = day.ToString() + "." + month.ToString() + ". " + m_CurrYear.ToString();
407 }

Referenced by OnChange(), and ResetSliders().

◆ UpdateSliderStartDay() [2/2]

void UIPopupScript::UpdateSliderStartDay ( int month,
int day )
inlineprivate

Definition at line 292 of file UIPopupScriptSceneSettings.c.

293 {
294 string label_text = day.ToString() + "." + month.ToString() + ". " + m_CurrYear.ToString();
296 }

◆ UpdateSliderStartTime() [1/2]

void UIPopupScript::UpdateSliderStartTime ( int hour,
int minute )
inlineprivate

Definition at line 397 of file UIPopupScriptSceneManager.c.

398 {
399 string label_text = hour.ToStringLen(2) + ":" + minute.ToStringLen(2);
401 }

Referenced by OnChange(), and ResetSliders().

◆ UpdateSliderStartTime() [2/2]

void UIPopupScript::UpdateSliderStartTime ( int hour,
int minute )
inlineprivate

Definition at line 286 of file UIPopupScriptSceneSettings.c.

287 {
288 string label_text = hour.ToStringLen(2) + ":" + minute.ToStringLen(2);
290 }

◆ UpdateSliderWindForce() [1/2]

void UIPopupScript::UpdateSliderWindForce ( )
inlineprivate

Definition at line 427 of file UIPopupScriptSceneManager.c.

428 {
429 string label_text = m_CurrWindForce.ToString() + "ms";
431 }
proto string ToString()

References float::ToString().

Referenced by OnChange(), and ResetSliders().

◆ UpdateSliderWindForce() [2/2]

void UIPopupScript::UpdateSliderWindForce ( )
inlineprivate

Definition at line 316 of file UIPopupScriptSceneSettings.c.

317 {
318 string label_text = m_SldWindForce.GetCurrent().ToString() + "%";
320 }

Member Data Documentation

◆ m_BtnCancel

ButtonWidget UIPopupScript::m_BtnCancel
private

Definition at line 4 of file UIPopupScriptConfigs.c.

◆ m_BtnCopyToClipboard

ButtonWidget UIPopupScript::m_BtnCopyToClipboard
private

Definition at line 5 of file UIPopupScriptConfigs.c.

◆ m_BtnNo

ButtonWidget UIPopupScript::m_BtnNo
private

Definition at line 4 of file UIPopupScriptSceneDelete.c.

◆ m_BtnOk

ButtonWidget UIPopupScript::m_BtnOk
private

Definition at line 3 of file UIPopupScriptConfigs.c.

◆ m_BtnRun

ButtonWidget UIPopupScript::m_BtnRun
private

Definition at line 5 of file UIPopupScriptInitScript.c.

◆ m_BtnSave

ButtonWidget UIPopupScript::m_BtnSave
private

Definition at line 6 of file UIPopupScriptInitScript.c.

◆ m_BtnSceneDelete

ButtonWidget UIPopupScript::m_BtnSceneDelete
private

Definition at line 8 of file UIPopupScriptSceneManager.c.

◆ m_BtnSceneDuplicate

ButtonWidget UIPopupScript::m_BtnSceneDuplicate
private

Definition at line 7 of file UIPopupScriptSceneManager.c.

◆ m_BtnSceneLoad

ButtonWidget UIPopupScript::m_BtnSceneLoad
private

Definition at line 5 of file UIPopupScriptSceneManager.c.

◆ m_BtnSceneNew

ButtonWidget UIPopupScript::m_BtnSceneNew
private

Definition at line 4 of file UIPopupScriptSceneManager.c.

◆ m_BtnSceneRename

ButtonWidget UIPopupScript::m_BtnSceneRename
private

Definition at line 6 of file UIPopupScriptSceneManager.c.

◆ m_BtnYes

ButtonWidget UIPopupScript::m_BtnYes
private

Definition at line 3 of file UIPopupScriptSceneDelete.c.

◆ m_CancelButton

ButtonWidget UIPopupScript::m_CancelButton
private

Definition at line 10 of file UIPopupScriptPositionManager.c.

◆ m_ConfigDebugProfileFixed

PluginConfigDebugProfileFixed UIPopupScript::m_ConfigDebugProfileFixed
private

Definition at line 8 of file UIPopupScriptPositionManager.c.

◆ m_ConfigHierarchyTextListbox

TextListboxWidget UIPopupScript::m_ConfigHierarchyTextListbox
private

Definition at line 7 of file UIPopupScriptConfigs.c.

◆ m_ConfigVariablesTextListbox

TextListboxWidget UIPopupScript::m_ConfigVariablesTextListbox
private

Definition at line 8 of file UIPopupScriptConfigs.c.

◆ m_CurrDay

int UIPopupScript::m_CurrDay
private

Definition at line 42 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrFog

float UIPopupScript::m_CurrFog
private

Definition at line 47 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrHour

int UIPopupScript::m_CurrHour
private

Definition at line 43 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrMinute

int UIPopupScript::m_CurrMinute
private

Definition at line 44 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrMonth

int UIPopupScript::m_CurrMonth
private

Definition at line 41 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrOvercast

float UIPopupScript::m_CurrOvercast
private

Definition at line 45 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrRain

float UIPopupScript::m_CurrRain
private

Definition at line 46 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrWindForce

float UIPopupScript::m_CurrWindForce
private

Definition at line 48 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_CurrYear

int UIPopupScript::m_CurrYear
private

Definition at line 40 of file UIPopupScriptSceneManager.c.

Referenced by OnClick().

◆ m_DaysInMonth

static const int UIPopupScript::m_DaysInMonth = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
staticprivate

Definition at line 11 of file UIPopupScriptSceneManager.c.

11{ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };

◆ m_DeleteScene

string UIPopupScript::m_DeleteScene
private

Definition at line 5 of file UIPopupScriptSceneDelete.c.

◆ m_Editbox

EditBoxWidget UIPopupScript::m_Editbox
private

Definition at line 5 of file UIPopupScriptPresetRename.c.

◆ m_EdxRotationDelta

EditBoxWidget UIPopupScript::m_EdxRotationDelta
private

Definition at line 5 of file UIPopupScriptEditorSettings.c.

◆ m_LstListScenes

TextListboxWidget UIPopupScript::m_LstListScenes
private

Definition at line 9 of file UIPopupScriptSceneManager.c.

◆ m_LstPositionList

TextListboxWidget UIPopupScript::m_LstPositionList
private

Definition at line 3 of file UIPopupScriptPositionManager.c.

◆ m_MedxInitScript

MultilineEditBoxWidget UIPopupScript::m_MedxInitScript
private

Definition at line 3 of file UIPopupScriptInitScript.c.

◆ m_ModuleConfigViewer

PluginConfigViewer UIPopupScript::m_ModuleConfigViewer
private

Definition at line 10 of file UIPopupScriptConfigs.c.

◆ m_ModuleSceneManager

PluginSceneManager UIPopupScript::m_ModuleSceneManager
private

Definition at line 9 of file UIPopupScriptEditorSettings.c.

◆ m_ObjectConfigFilter

EditBoxWidget UIPopupScript::m_ObjectConfigFilter
private

Definition at line 12 of file UIPopupScriptConfigs.c.

◆ m_OrigDay

int UIPopupScript::m_OrigDay
private

Definition at line 32 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigFog

float UIPopupScript::m_OrigFog
private

Definition at line 37 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigHour

int UIPopupScript::m_OrigHour
private

Definition at line 33 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigMinute

int UIPopupScript::m_OrigMinute
private

Definition at line 34 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigMonth

int UIPopupScript::m_OrigMonth
private

Definition at line 31 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigOvercast

float UIPopupScript::m_OrigOvercast
private

Definition at line 35 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigRain

float UIPopupScript::m_OrigRain
private

Definition at line 36 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigWindForce

float UIPopupScript::m_OrigWindForce
private

Definition at line 38 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_OrigYear

int UIPopupScript::m_OrigYear
private

Definition at line 30 of file UIPopupScriptSceneManager.c.

Referenced by OnOpen().

◆ m_RenameName

string UIPopupScript::m_RenameName
private

Definition at line 5 of file UIPopupScriptSceneRename.c.

◆ m_SceneObject

SceneObject UIPopupScript::m_SceneObject
private

Definition at line 10 of file UIPopupScriptInitScript.c.

◆ m_SceneObjectIndex

int UIPopupScript::m_SceneObjectIndex
private

Definition at line 9 of file UIPopupScriptInitScript.c.

◆ m_SldFog

SliderWidget UIPopupScript::m_SldFog
private

Definition at line 25 of file UIPopupScriptSceneManager.c.

◆ m_SldOvercast

SliderWidget UIPopupScript::m_SldOvercast
private

Definition at line 21 of file UIPopupScriptSceneManager.c.

◆ m_SldRain

SliderWidget UIPopupScript::m_SldRain
private

Definition at line 23 of file UIPopupScriptSceneManager.c.

◆ m_SldStartDay

SliderWidget UIPopupScript::m_SldStartDay
private

Definition at line 19 of file UIPopupScriptSceneManager.c.

◆ m_SldStartTime

SliderWidget UIPopupScript::m_SldStartTime
private

Definition at line 17 of file UIPopupScriptSceneManager.c.

◆ m_SldWindForce

SliderWidget UIPopupScript::m_SldWindForce
private

Definition at line 27 of file UIPopupScriptSceneManager.c.

◆ m_TeleportButton

ButtonWidget UIPopupScript::m_TeleportButton
private

Definition at line 9 of file UIPopupScriptPositionManager.c.

◆ m_TxtCurrentX

EditBoxWidget UIPopupScript::m_TxtCurrentX
private

Definition at line 6 of file UIPopupScriptPositionManager.c.

◆ m_TxtCurrentY

EditBoxWidget UIPopupScript::m_TxtCurrentY
private

Definition at line 7 of file UIPopupScriptPositionManager.c.

◆ m_TxtFogValue

TextWidget UIPopupScript::m_TxtFogValue
private

Definition at line 26 of file UIPopupScriptSceneManager.c.

◆ m_TxtLabel

TextWidget UIPopupScript::m_TxtLabel
private

Definition at line 4 of file UIPopupScriptNotify.c.

◆ m_TxtOvercastValue

TextWidget UIPopupScript::m_TxtOvercastValue
private

Definition at line 22 of file UIPopupScriptSceneManager.c.

◆ m_TxtRainValue

TextWidget UIPopupScript::m_TxtRainValue
private

Definition at line 24 of file UIPopupScriptSceneManager.c.

◆ m_TxtSelectedX

EditBoxWidget UIPopupScript::m_TxtSelectedX
private

Definition at line 4 of file UIPopupScriptPositionManager.c.

◆ m_TxtSelectedY

EditBoxWidget UIPopupScript::m_TxtSelectedY
private

Definition at line 5 of file UIPopupScriptPositionManager.c.

◆ m_TxtStartDayValue

TextWidget UIPopupScript::m_TxtStartDayValue
private

Definition at line 20 of file UIPopupScriptSceneManager.c.

◆ m_TxtStartTimeValue

TextWidget UIPopupScript::m_TxtStartTimeValue
private

Definition at line 18 of file UIPopupScriptSceneManager.c.

◆ m_TxtWeatherTime

TextWidget UIPopupScript::m_TxtWeatherTime
private

Definition at line 15 of file UIPopupScriptSceneManager.c.

◆ m_TxtWindForceValue

TextWidget UIPopupScript::m_TxtWindForceValue
private

Definition at line 28 of file UIPopupScriptSceneManager.c.

◆ m_WgtRoot

Widget UIPopupScript::m_WgtRoot
protected

Definition at line 61 of file UIPopupScript.c.

Referenced by Show(), and UIPopupScript().

◆ m_WgtTglSavePlayerPos

CheckBoxWidget UIPopupScript::m_WgtTglSavePlayerPos
private

Definition at line 4 of file UIPopupScriptEditorSettings.c.

◆ m_WgtTglSeleHighlight

CheckBoxWidget UIPopupScript::m_WgtTglSeleHighlight
private

Definition at line 3 of file UIPopupScriptEditorSettings.c.


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