diff --git a/Libraries/LibGfx/Palette.h b/Libraries/LibGfx/Palette.h index 5d3699b688..2c2dbce749 100644 --- a/Libraries/LibGfx/Palette.h +++ b/Libraries/LibGfx/Palette.h @@ -67,6 +67,8 @@ public: Color window_text() const { return color(ColorRole::WindowText); } Color selection() const { return color(ColorRole::Selection); } Color selection_text() const { return color(ColorRole::SelectionText); } + Color inactive_selection() const { return color(ColorRole::InactiveSelection); } + Color inactive_selection_text() const { return color(ColorRole::InactiveSelectionText); } Color desktop_background() const { return color(ColorRole::DesktopBackground); } Color active_window_border1() const { return color(ColorRole::ActiveWindowBorder1); } Color active_window_border2() const { return color(ColorRole::ActiveWindowBorder2); } diff --git a/Libraries/LibGfx/SystemTheme.cpp b/Libraries/LibGfx/SystemTheme.cpp index 8ae4be8df7..85a054fa83 100644 --- a/Libraries/LibGfx/SystemTheme.cpp +++ b/Libraries/LibGfx/SystemTheme.cpp @@ -77,6 +77,8 @@ RefPtr load_system_theme(const String& path) DO_COLOR(HoverHighlight); DO_COLOR(Selection); DO_COLOR(SelectionText); + DO_COLOR(InactiveSelection); + DO_COLOR(InactiveSelectionText); DO_COLOR(Window); DO_COLOR(WindowText); DO_COLOR(Base); diff --git a/Libraries/LibGfx/SystemTheme.h b/Libraries/LibGfx/SystemTheme.h index 4747209e52..5024c024f3 100644 --- a/Libraries/LibGfx/SystemTheme.h +++ b/Libraries/LibGfx/SystemTheme.h @@ -64,6 +64,8 @@ enum class ColorRole { HoverHighlight, Selection, SelectionText, + InactiveSelection, + InactiveSelectionText, RubberBandFill, RubberBandBorder, Link,