mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
LibGfx: Add inactive selection colors
This commit is contained in:
parent
b515ea454f
commit
99192fd29f
Notes:
sideshowbarker
2024-07-19 09:18:49 +09:00
Author: https://github.com/xTibor Commit: https://github.com/SerenityOS/serenity/commit/99192fd29fb Pull-request: https://github.com/SerenityOS/serenity/pull/1224
@ -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); }
|
||||
|
@ -77,6 +77,8 @@ RefPtr<SharedBuffer> 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);
|
||||
|
@ -64,6 +64,8 @@ enum class ColorRole {
|
||||
HoverHighlight,
|
||||
Selection,
|
||||
SelectionText,
|
||||
InactiveSelection,
|
||||
InactiveSelectionText,
|
||||
RubberBandFill,
|
||||
RubberBandBorder,
|
||||
Link,
|
||||
|
Loading…
Reference in New Issue
Block a user