mirror of
https://github.com/RGBCube/serenity
synced 2025-07-13 19:37:34 +00:00
LibDraw: Add Button and ButtonText system theme colors
These are now separate from the Window and WindowText colors.
This commit is contained in:
parent
9171aef724
commit
df3a2dba43
21 changed files with 57 additions and 39 deletions
|
@ -11,8 +11,8 @@ Color::Color(SystemColor system_color)
|
|||
case SystemColor::Window:
|
||||
m_value = theme.window.value();
|
||||
break;
|
||||
case SystemColor::Text:
|
||||
m_value = theme.text.value();
|
||||
case SystemColor::WindowText:
|
||||
m_value = theme.window_text.value();
|
||||
break;
|
||||
case SystemColor::Base:
|
||||
m_value = theme.base.value();
|
||||
|
@ -26,6 +26,12 @@ Color::Color(SystemColor system_color)
|
|||
case SystemColor::ThreedHighlight:
|
||||
m_value = theme.threed_highlight.value();
|
||||
break;
|
||||
case SystemColor::Button:
|
||||
m_value = theme.button.value();
|
||||
break;
|
||||
case SystemColor::ButtonText:
|
||||
m_value = theme.button_text.value();
|
||||
break;
|
||||
case SystemColor::HoverHighlight:
|
||||
m_value = theme.hover_highlight.value();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue