mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:07:46 +00:00
LibDraw: Add ColorRole::BaseText (to be painted on ColorRole::Base)
This commit is contained in:
parent
a79bac428b
commit
aae54bdbde
11 changed files with 13 additions and 0 deletions
|
@ -31,6 +31,7 @@ public:
|
|||
Color menu_base() const { return color(ColorRole::MenuBase); }
|
||||
Color menu_selection() const { return color(ColorRole::MenuSelection); }
|
||||
Color base() const { return color(ColorRole::Base); }
|
||||
Color base_text() const { return color(ColorRole::BaseText); }
|
||||
Color button() const { return color(ColorRole::Button); }
|
||||
Color button_text() const { return color(ColorRole::ButtonText); }
|
||||
Color threed_highlight() const { return color(ColorRole::ThreedHighlight); }
|
||||
|
|
|
@ -54,6 +54,7 @@ RefPtr<SharedBuffer> load_system_theme(const String& path)
|
|||
DO_COLOR(Window);
|
||||
DO_COLOR(WindowText);
|
||||
DO_COLOR(Base);
|
||||
DO_COLOR(BaseText);
|
||||
DO_COLOR(Button);
|
||||
DO_COLOR(ButtonText);
|
||||
DO_COLOR(DesktopBackground);
|
||||
|
|
|
@ -27,6 +27,7 @@ enum class ColorRole {
|
|||
Button,
|
||||
ButtonText,
|
||||
Base,
|
||||
BaseText,
|
||||
ThreedHighlight,
|
||||
ThreedShadow1,
|
||||
ThreedShadow2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue