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:
Fabio Bas 2015-05-17 23:30:14 +02:00
parent 5d08236cbe
commit bdd55db549
64 changed files with 359 additions and 387 deletions

View file

@ -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:
/**