|
imgui-platform-kit 2.0.0
Cross-platform Dear ImGui application framework
|
Namespaces | |
| namespace | colours |
Named constexpr ImVec4 colour constants (RGBA, 0.0-1.0). | |
Classes | |
| struct | BackgroundImageParameters |
| Background image drawn behind all windows. More... | |
| struct | DX12BackgroundImageTexture |
| D3D12 texture holding the background image and its parameters. More... | |
| struct | FontParameters |
| Fonts to load at startup. More... | |
| struct | IconParameters |
| Window icon settings. More... | |
| struct | LogEntry |
| A single log line: message text and its display colour. More... | |
| class | LogWindow |
| Built-in window that displays colour-coded log messages. More... | |
| struct | StyleParameters |
| Visual style of the user interface (theme and window styling). More... | |
| class | TemplateWindow |
| Minimal reference example of a UserInterfaceWindow subclass. More... | |
| class | UserInterface |
| Main application object: owns the platform window, the rendering backend and the registered UserInterfaceWindow instances. More... | |
| struct | UserInterfaceParameters |
| Aggregates all configuration passed to imgui_kit::UserInterface. More... | |
| class | UserInterfaceWindow |
| Abstract base class for all windows rendered by the kit. More... | |
| struct | UserInterfaceWindowParameters |
| Base type for parameters passed to UserInterfaceWindow subclasses. More... | |
| struct | WindowParameters |
| Geometry and title of the top-level platform window. More... | |
Enumerations | |
| enum class | Theme { Light , Dark , Classic , AdobeInspired , BlackDevil , BootstrapDark , Cherry , ClassicSteam , CleanDarkRed , Comfy , DuckRed , Darcula , DarkRuda , Darky , DeepDark , DiscordDark , EnemyMouse , EverForest , FutureDark , Gold , GreenFont , GreenLeaf , HazyDark , MaterialFlat , Microsoft , Modern , Moonlight , Photoshoop , PurpleComfy , QuickMinimal , RedFont , RedOni , RoundedVisualStudio , SoftCherry , SonicRiders , Unreal , VisualStudio , Windark , LedSynthmaster } |
| Available colour themes. More... | |
| enum class | ImageFitType : uint8_t { KEEP_ASPECT_RATIO = 0 , ZOOM_TO_FIT } |
| How a background image is scaled to the window. More... | |
Functions | |
| void | showImGuiKitThemeSelector (bool *p_open=nullptr) |
| Shows a window that lets the user switch themes at runtime. | |
| ImGuiWindowFlags | getGlobalWindowFlags () |
| Returns the window flags currently applied to every kit-managed window. | |
| void | setGlobalWindowFlags (ImGuiWindowFlags flags) |
| Replaces the global window flags. | |
| void | addGlobalWindowFlags (ImGuiWindowFlags flags) |
| Adds flags to the global window flags (bitwise OR). | |
| void | removeGlobalWindowFlags (ImGuiWindowFlags flags) |
| Removes flags from the global window flags. | |
Theme appliers | |
Apply the corresponding theme to the current ImGui context by setting ImGui::GetStyle(). Usually called indirectly through the themes map or StyleParameters::apply() rather than directly. Light, Dark and Classic have no applier here; they use the ImGui built-ins (ImGui::StyleColorsLight/Dark/Classic). | |
| void | applyAdobeInspiredTheme () |
| void | applyBlackDevilTheme () |
| void | applyBootstrapDarkTheme () |
| void | applyCherryTheme () |
| void | applyClassicSteamTheme () |
| void | applyCleanDarkRedTheme () |
| void | applyComfyTheme () |
| void | applyDuckRedTheme () |
| void | applyDarculaTheme () |
| void | applyDarkRudaTheme () |
| void | applyDarkyTheme () |
| void | applyDeepDarkTheme () |
| void | applyDiscordDarkTheme () |
| void | applyEnemyMouseTheme () |
| void | applyEverForestTheme () |
| void | applyFutureDarkTheme () |
| void | applyGoldTheme () |
| void | applyGreenFontTheme () |
| void | applyGreenLeafTheme () |
| void | applyHazyDarkTheme () |
| void | applyMaterialFlatTheme () |
| void | applyMicrosoftTheme () |
| void | applyModernTheme () |
| void | applyMoonlightTheme () |
| void | applyPhotoshoopTheme () |
| void | applyPurpleComfyTheme () |
| void | applyQuickMinimalTheme () |
| void | applyRedFontTheme () |
| void | applyRedOniTheme () |
| void | applyRoundedVisualStudioTheme () |
| void | applySoftCherryTheme () |
| void | applySonicRidersTheme () |
| void | applyUnrealTheme () |
| void | applyVisualStudioTheme () |
| void | applyWindarkTheme () |
| void | applyLedSynthmasterTheme () |
Variables | |
| const std::unordered_map< Theme, std::string > | themeNames |
| Human-readable display name for each Theme value. | |
| std::unordered_map< Theme, std::function< void()> > | themes |
| Maps each Theme value to the function that applies it. | |
| constexpr char | defaultWindowParametersFilename [] = "imgui_window_parameters.ini" |
| Default INI filename used by WindowParameters::save() and WindowParameters::load(). | |
| constexpr char | defaultThemeParametersFilename [] = "imgui_theme_parameters.ini" |
| Default INI filename reserved for persisting theme parameters. | |
| ImGuiWindowFlags | g_globalWindowFlags |
| ImGui window flags shared by every window managed by the kit. | |
|
strong |
|
strong |
Available colour themes.
Light, Dark and Classic map to the ImGui built-in styles; the remaining themes are community styles from ImThemes.
| void imgui_kit::addGlobalWindowFlags | ( | ImGuiWindowFlags | flags | ) |
Adds flags to the global window flags (bitwise OR).
| flags | ImGui window flags to add. |
| void imgui_kit::applyAdobeInspiredTheme | ( | ) |
| void imgui_kit::applyBlackDevilTheme | ( | ) |
| void imgui_kit::applyBootstrapDarkTheme | ( | ) |
| void imgui_kit::applyCherryTheme | ( | ) |
| void imgui_kit::applyClassicSteamTheme | ( | ) |
| void imgui_kit::applyCleanDarkRedTheme | ( | ) |
| void imgui_kit::applyComfyTheme | ( | ) |
| void imgui_kit::applyDarculaTheme | ( | ) |
| void imgui_kit::applyDarkRudaTheme | ( | ) |
| void imgui_kit::applyDarkyTheme | ( | ) |
| void imgui_kit::applyDeepDarkTheme | ( | ) |
| void imgui_kit::applyDiscordDarkTheme | ( | ) |
| void imgui_kit::applyDuckRedTheme | ( | ) |
| void imgui_kit::applyEnemyMouseTheme | ( | ) |
| void imgui_kit::applyEverForestTheme | ( | ) |
| void imgui_kit::applyFutureDarkTheme | ( | ) |
| void imgui_kit::applyGoldTheme | ( | ) |
| void imgui_kit::applyGreenFontTheme | ( | ) |
| void imgui_kit::applyGreenLeafTheme | ( | ) |
| void imgui_kit::applyHazyDarkTheme | ( | ) |
| void imgui_kit::applyLedSynthmasterTheme | ( | ) |
| void imgui_kit::applyMaterialFlatTheme | ( | ) |
| void imgui_kit::applyMicrosoftTheme | ( | ) |
| void imgui_kit::applyModernTheme | ( | ) |
| void imgui_kit::applyMoonlightTheme | ( | ) |
| void imgui_kit::applyPhotoshoopTheme | ( | ) |
| void imgui_kit::applyPurpleComfyTheme | ( | ) |
| void imgui_kit::applyQuickMinimalTheme | ( | ) |
| void imgui_kit::applyRedFontTheme | ( | ) |
| void imgui_kit::applyRedOniTheme | ( | ) |
| void imgui_kit::applyRoundedVisualStudioTheme | ( | ) |
| void imgui_kit::applySoftCherryTheme | ( | ) |
| void imgui_kit::applySonicRidersTheme | ( | ) |
| void imgui_kit::applyUnrealTheme | ( | ) |
| void imgui_kit::applyVisualStudioTheme | ( | ) |
| void imgui_kit::applyWindarkTheme | ( | ) |
| ImGuiWindowFlags imgui_kit::getGlobalWindowFlags | ( | ) |
Returns the window flags currently applied to every kit-managed window.
| void imgui_kit::removeGlobalWindowFlags | ( | ImGuiWindowFlags | flags | ) |
Removes flags from the global window flags.
| flags | ImGui window flags to remove. |
| void imgui_kit::setGlobalWindowFlags | ( | ImGuiWindowFlags | flags | ) |
Replaces the global window flags.
| flags | New set of ImGui window flags. |
| void imgui_kit::showImGuiKitThemeSelector | ( | bool * | p_open = nullptr | ) |
Shows a window that lets the user switch themes at runtime.
| p_open | Optional ImGui open flag; when given, the window shows a close button that clears it. |
|
constexpr |
Default INI filename reserved for persisting theme parameters.
|
constexpr |
Default INI filename used by WindowParameters::save() and WindowParameters::load().
|
extern |
ImGui window flags shared by every window managed by the kit.
|
inline |
Human-readable display name for each Theme value.
|
inline |
Maps each Theme value to the function that applies it.