См. определение в файле OptionSelector.c строка 9
10 {
11 m_Options = {
"#server_browser_disabled",
"#server_browser_show",
"#server_browser_hide" };
12 m_ParentClass = parent_c;
13 m_SelectorType = 2;
14 if (current_index < 0 || current_index >=
m_Options.Count())
15 {
17 }
18 else
19 {
21 }
22
23 m_Root =
g_Game.GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/option_selector.layout", parent);
24 #ifdef PLATFORM_CONSOLE
25 m_Parent = parent.GetParent().GetParent();
26 #else
27 #ifdef PLATFORM_WINDOWS
29 #endif
30 #endif
31
35
36 #ifdef PLATFORM_CONSOLE
39 #endif
40
42
45 {
47 }
48 else
49 {
51 }
52
54 }
int m_SelectedOptionIndex
TextWidget m_SelectedOption
ref array< string > m_Options
Перекрестные ссылки Disable(), Enable(), g_Game, m_Enabled, m_NextOption, m_Options, m_Parent, m_PreviousOption, m_Root, m_SelectedOption и m_SelectedOptionIndex.