43 #ifndef PLATFORM_CONSOLE
50 if (menu && menu.IsInherited(CharacterCreationMenu))
56 #ifndef PLATFORM_CONSOLE
71 #ifdef PLATFORM_CONSOLE
79 #ifndef PLATFORM_CONSOLE
86 if (menu && menu.IsInherited(CharacterCreationMenu))
92 #ifndef PLATFORM_CONSOLE
131 #ifndef PLATFORM_CONSOLE
144 #ifdef PLATFORM_CONSOLE
157 #ifdef PLATFORM_CONSOLE
177 int color_pnl =
ARGB(255, 255, 255, 255);
178 int color_lbl =
ARGB(255, 255, 255, 255);
182 Widget title_label = w.FindAnyWidget(w.GetName() +
"_label");
183 Widget option_label = w.FindAnyWidget(
"option_label");
187 title_label.SetColor(color_lbl);
192 option_label.SetColor(color_lbl);
201 int color_pnl =
ARGB(0, 0, 0, 0);
202 int color_lbl =
ARGB(120, 255, 255, 255);
206 Widget title_label = w.FindAnyWidget(w.GetName() +
"_label");
207 Widget option_label = w.FindAnyWidget(
"option_label");
211 title_label.SetColor(color_lbl);
216 option_label.SetColor(color_lbl);
222 Widget option = w.FindAnyWidget(w.GetName() +
"_image");
226 option.SetColor(color);
235 int color_pnl =
ARGB(255, 200, 0, 0);
236 int color_lbl =
ARGB(255, 255, 255, 255);
248 int color_pnl =
ARGB(0, 0, 0, 0);
249 int color_lbl =
ARGB(255, 255, 255, 255);
261 int color_pnl =
ARGB(0, 0, 0, 0);
262 int color_lbl =
ARGB(120, 255, 255, 255);
279 Widget panel = w.FindAnyWidget(w.GetName() +
"_panel");
298 label.SetColor(color);
303 text.SetColor(color);
308 text2.SetColor(color);
proto native UIManager GetUIManager()
override bool IsFocusable(Widget w)
override void ColorNormalConsole(Widget w)
override void ColorHighlight(Widget w)
override void ColorDisabledConsole(Widget w)
override void ColorNormal(Widget w)
ScriptInvoker Class provide list of callbacks usage:
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native CGame GetGame()
int ARGB(int a, int r, int g, int b)