guitar_prometheus::Theming::Theme
guitar_prometheus::Theming::Theme
A complete colour palette for one variant (dark or light) of a theme pair. More…
#include <Theme.h>
Public Attributes
| Name | |
|---|---|
| juce::String | displayName User-visible variant name (e.g. “Fragmented”, “Goddess”). |
| bool | isDark True for dark variants — drives default text colour. |
| std::map< int, juce::Colour > | colours ColourId → colour, keyed by ThemeColourIds enum values. |
Detailed Description
struct guitar_prometheus::Theming::Theme;A complete colour palette for one variant (dark or light) of a theme pair.
colours is keyed by ThemeColourIds values (and a handful of built-in JUCE ColourIds — see [AppLookAndFeel::applyTheme](/api-reference/classes/classguitar__prometheus_1_1theming_1_1applookandfeel/#function-applytheme) for the full mapping). The display name and pair id are used by the View → Theme menu to render the active selection’s name and check-mark state.
Themes are pure data — no logic lives here. [AppLookAndFeel](/api-reference/classes/classguitar__prometheus_1_1theming_1_1applookandfeel/) is responsible for actually applying the palette via setColour calls.
Public Attributes Documentation
variable displayName
juce::String displayName;User-visible variant name (e.g. “Fragmented”, “Goddess”).
variable isDark
bool isDark;True for dark variants — drives default text colour.
variable colours
std::map< int, juce::Colour > colours;ColourId → colour, keyed by ThemeColourIds enum values.
Updated on 2026-05-29 at 07:39:53 +0000