ThemePicker

AppCUI::Dialogs::ThemePicker (class)

class ThemePicker

Lets the user pick a theme from Application::EnumerateThemes (built-in themes first, then .theme files and themes stored in the settings file).

Moving through the list previews the theme on the whole application; Enter / “Apply” keeps it, Esc / “Cancel” restores the theme that was active when the dialog opened. “Edit…” opens the theme editor on the selected theme. When the application uses a settings file, Apply asks whether the theme should be kept after a restart (Application::SaveThemeToSettings).

Public Static Functions

static bool Show()

Returns true if a theme was applied (Apply, or Apply in the theme editor), false if the dialog was cancelled.