22 if ( ui_menu != NULL )
29 m_Label.SetText(
"RENAME PRESET");
39 super.OnClick(w,
x,
y, button);
41 if (w.GetUserID() ==
IDC_OK)
44 if ( ui_menu != NULL )
proto native UIManager GetUIManager()
proto native WorkspaceWidget GetWorkspace()
void RenamePreset(string new_preset_name)
string GetCurrentPresetName()
UIScriptedMenu FindMenu(int id)
Returns menu with specific ID if it is open (see MenuID)
proto native CGame GetGame()