mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
Theme manager
This is the first implementation of a theme manager. It’s a rebased and revisited version of #792.
This commit is contained in:
parent
5d08236cbe
commit
bdd55db549
64 changed files with 359 additions and 387 deletions
|
|
@ -27,7 +27,7 @@ private:
|
|||
static const int MIN_WIDTH = 15 * CARD_WIDTH / 2;
|
||||
|
||||
/*
|
||||
Default background color, inactive mask and boarder gradient
|
||||
Default inactive mask and border gradient
|
||||
*/
|
||||
static const QColor BACKGROUND_COLOR;
|
||||
static const QColor FADE_MASK;
|
||||
|
|
@ -42,11 +42,6 @@ private:
|
|||
int height;
|
||||
int currentMinimumWidth;
|
||||
|
||||
/*
|
||||
Holds any custom background image for the TableZone
|
||||
*/
|
||||
QPixmap backgroundPixelMap;
|
||||
|
||||
/*
|
||||
If this TableZone is currently active
|
||||
*/
|
||||
|
|
@ -58,7 +53,7 @@ private slots:
|
|||
/**
|
||||
Loads in any found custom background and updates
|
||||
*/
|
||||
void updateBgPixmap();
|
||||
void updateBg();
|
||||
|
||||
public slots:
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue