void DrawDatabaseButtons(float width)
 {
     if (QUI.GhostButton("UIButtons Database", QColors.Color.Gray, width, 18))
     {
         ControlPanelWindow.OpenWindow(ControlPanelWindow.Page.UIButtons);
     }
 }
 void DrawDatabaseButtons(float width)
 {
     QUI.BeginHorizontal(width);
     {
         if (QUI.GhostButton("UICanvases Database", QColors.Color.Gray, width, 18))
         {
             ControlPanelWindow.OpenWindow(ControlPanelWindow.Page.UICanvases);
         }
     }
     QUI.EndHorizontal();
 }
 void DrawTopButtons()
 {
     QUI.BeginHorizontal(WIDTH_420);
     {
         if (QUI.Button("UIButtons Database"))
         {
             ControlPanelWindow.Open(ControlPanelWindow.Section.UIButtons);
         }
         if (QUI.Button("Refresh Data"))
         {
             RefreshData(true);
         }
     }
     QUI.EndHorizontal();
     QUI.Space(SPACE_2);
 }
Example #4
0
 void DrawTopButtons(float width)
 {
     QUI.BeginHorizontal(width);
     {
         if (QUI.GhostButton("Control Panel", QColors.Color.Gray, (width - SPACE_4) / 3, 18))
         {
             ControlPanelWindow.OpenWindow(ControlPanelWindow.Page.General);
         }
         if (QUI.GhostButton("Editor Settings", QColors.Color.Gray, (width - SPACE_4) / 3, 18))
         {
             ControlPanelWindow.OpenWindow(ControlPanelWindow.Page.EditorSettings);
         }
         if (QUI.GhostButton("Help", QColors.Color.Gray, (width - SPACE_4) / 3, 18))
         {
             ControlPanelWindow.OpenWindow(ControlPanelWindow.Page.Help);
         }
     }
     QUI.EndHorizontal();
 }
Example #5
0
 void DrawTopButtons()
 {
     QUI.BeginHorizontal(WIDTH_420);
     {
         if (QUI.Button("Control Panel"))
         {
             ControlPanelWindow.Open(ControlPanelWindow.Section.ControlPanel);
         }
         if (QUI.Button("Editor Settings"))
         {
             ControlPanelWindow.Open(ControlPanelWindow.Section.Settings);
         }
         if (QUI.Button("Help"))
         {
             ControlPanelWindow.Open(ControlPanelWindow.Section.Help);
         }
     }
     QUI.EndHorizontal();
     QUI.Space(SPACE_2);
 }
Example #6
0
 static void Init()
 {
     Instance = GetWindow <ControlPanelWindow>(_utility, _title, _focus);
     Instance.SetupWindow();
 }