mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-26 12:35:33 +00:00
Add some style for selected items in the simple theme
This commit is contained in:
parent
969dd68490
commit
c6a1a6868a
@ -179,6 +179,16 @@ void Theme::initWidget(Widget* widget)
|
||||
m_simpleStyle.layers().push_back(bg);
|
||||
m_simpleStyle.layers().push_back(br);
|
||||
m_simpleStyle.layers().push_back(fg);
|
||||
|
||||
bg.setFlags(Style::Layer::kSelected);
|
||||
bg.setColor(kFgColor);
|
||||
br.setFlags(Style::Layer::kSelected);
|
||||
br.setColor(kFgColor);
|
||||
fg.setFlags(Style::Layer::kSelected);
|
||||
fg.setColor(kBgColor);
|
||||
m_simpleStyle.layers().push_back(bg);
|
||||
m_simpleStyle.layers().push_back(br);
|
||||
m_simpleStyle.layers().push_back(fg);
|
||||
}
|
||||
|
||||
widget->setFont(getDefaultFont());
|
||||
|
Loading…
x
Reference in New Issue
Block a user