初始化内容
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user