mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 09:07:41 +00:00
LibGfx: Add inactive selection colors
This commit is contained in:
parent
b515ea454f
commit
99192fd29f
3 changed files with 6 additions and 0 deletions
|
@ -67,6 +67,8 @@ public:
|
||||||
Color window_text() const { return color(ColorRole::WindowText); }
|
Color window_text() const { return color(ColorRole::WindowText); }
|
||||||
Color selection() const { return color(ColorRole::Selection); }
|
Color selection() const { return color(ColorRole::Selection); }
|
||||||
Color selection_text() const { return color(ColorRole::SelectionText); }
|
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 desktop_background() const { return color(ColorRole::DesktopBackground); }
|
||||||
Color active_window_border1() const { return color(ColorRole::ActiveWindowBorder1); }
|
Color active_window_border1() const { return color(ColorRole::ActiveWindowBorder1); }
|
||||||
Color active_window_border2() const { return color(ColorRole::ActiveWindowBorder2); }
|
Color active_window_border2() const { return color(ColorRole::ActiveWindowBorder2); }
|
||||||
|
|
|
@ -77,6 +77,8 @@ RefPtr<SharedBuffer> load_system_theme(const String& path)
|
||||||
DO_COLOR(HoverHighlight);
|
DO_COLOR(HoverHighlight);
|
||||||
DO_COLOR(Selection);
|
DO_COLOR(Selection);
|
||||||
DO_COLOR(SelectionText);
|
DO_COLOR(SelectionText);
|
||||||
|
DO_COLOR(InactiveSelection);
|
||||||
|
DO_COLOR(InactiveSelectionText);
|
||||||
DO_COLOR(Window);
|
DO_COLOR(Window);
|
||||||
DO_COLOR(WindowText);
|
DO_COLOR(WindowText);
|
||||||
DO_COLOR(Base);
|
DO_COLOR(Base);
|
||||||
|
|
|
@ -64,6 +64,8 @@ enum class ColorRole {
|
||||||
HoverHighlight,
|
HoverHighlight,
|
||||||
Selection,
|
Selection,
|
||||||
SelectionText,
|
SelectionText,
|
||||||
|
InactiveSelection,
|
||||||
|
InactiveSelectionText,
|
||||||
RubberBandFill,
|
RubberBandFill,
|
||||||
RubberBandBorder,
|
RubberBandBorder,
|
||||||
Link,
|
Link,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue