mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 00:23:55 -07:00
Snapshot system palette.
Took 8 minutes Took 11 seconds
This commit is contained in:
parent
19b3e8b286
commit
3de441a823
2 changed files with 24 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ public:
|
|||
};
|
||||
|
||||
private:
|
||||
QPalette systemPalette;
|
||||
QString defaultStyleName;
|
||||
QString currentThemePath;
|
||||
std::array<QBrush, Role::MaxRole + 1> brushes;
|
||||
|
|
@ -89,6 +90,7 @@ public:
|
|||
QBrush getExtraBgBrush(Role zone, int zoneId = 0);
|
||||
protected slots:
|
||||
void themeChangedSlot();
|
||||
void onColorSchemeChanged();
|
||||
signals:
|
||||
void themeChanged();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue