Modal dialog for workspace selection and creation.
More...
#include <WorkspaceDialog.h>
|
| static void | Show (WorkspaceCallback callback) |
| | Show the workspace selection dialog.
|
| |
| static bool | Render () |
| | Render the dialog (call this in your main render loop)
|
| |
| static bool | IsOpen () |
| | Check if the dialog is currently open.
|
| |
| static void | Close () |
| | Force close the dialog.
|
| |
Modal dialog for workspace selection and creation.
This dialog appears on application startup and allows users to:
- Select from existing workspaces
- Create new workspaces
- Browse for workspace directories
- Remove invalid workspaces from the list
◆ WorkspaceCallback
Callback function type for workspace selection.
- Parameters
-
| workspace | Pointer to selected workspace, nullptr if cancelled |
◆ Close()
| void Editor::UI::WorkspaceDialog::Close |
( |
| ) |
|
|
static |
◆ IsOpen()
| bool Editor::UI::WorkspaceDialog::IsOpen |
( |
| ) |
|
|
static |
Check if the dialog is currently open.
- Returns
- true if dialog is open
◆ Render()
| bool Editor::UI::WorkspaceDialog::Render |
( |
| ) |
|
|
static |
Render the dialog (call this in your main render loop)
- Returns
- true if dialog is still open, false if closed
◆ Show()
Show the workspace selection dialog.
- Parameters
-
| callback | Function to call when workspace is selected or dialog is cancelled |
The documentation for this class was generated from the following files: