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(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(); }