28 lines
389 B
ActionScript 3
28 lines
389 B
ActionScript 3
class UIMod
|
|
{
|
|
void CreateUI()
|
|
{
|
|
@_panel = g_ui.CreatePanel();
|
|
|
|
//UI::ListBox@ lst = g_ui.CreateListBoxDefault();
|
|
|
|
|
|
UI::Text@ txt = g_ui.CreateTextDefault();
|
|
txt.SetString("mod管理器");//string_view("mod管理器"));
|
|
_panel.Add(txt);
|
|
|
|
}
|
|
|
|
UI::Panel@ _panel;
|
|
}
|
|
|
|
UI::Panel@ initUI(string x)
|
|
{
|
|
print(x);
|
|
UIMod mod = UIMod();
|
|
mod.CreateUI();
|
|
return mod._panel;
|
|
}
|
|
|
|
|