colors are not flags
This commit is contained in:
parent
4ad2cc5196
commit
c54d3d5538
@ -89,25 +89,26 @@ class PLASMA_EXPORT Theme : public QObject
|
|||||||
public:
|
public:
|
||||||
enum ColorRole {
|
enum ColorRole {
|
||||||
TextColor = 0, /**< the text color to be used by items resting on the background */
|
TextColor = 0, /**< the text color to be used by items resting on the background */
|
||||||
HighlightColor = 1, /**< the text highlight color to be used by items resting
|
BackgroundColor = 1, /**< the default background color */
|
||||||
|
HighlightColor = 2, /**< the text highlight color to be used by items resting
|
||||||
on the background */
|
on the background */
|
||||||
BackgroundColor = 2, /**< the default background color */
|
LinkColor = 3, /** color for clickable links */
|
||||||
ButtonTextColor = 4, /** text color for buttons */
|
VisitedLinkColor = 4, /** color visited clickable links */
|
||||||
ButtonBackgroundColor = 8, /** background color for buttons*/
|
|
||||||
LinkColor = 16, /** color for clickable links */
|
|
||||||
VisitedLinkColor = 32, /** color visited clickable links */
|
|
||||||
ButtonHoverColor = 64, /** color for hover effect on buttons */
|
|
||||||
ButtonFocusColor = 128, /** color for focus effect on buttons */
|
|
||||||
|
|
||||||
ViewTextColor = 256, /** text color for views */
|
ButtonTextColor = 100, /** text color for buttons */
|
||||||
ViewBackgroundColor = 512, /** background color for views */
|
ButtonBackgroundColor = 101, /** background color for buttons*/
|
||||||
ViewHoverColor = 1024, /** color for hover effect on view */
|
ButtonHoverColor = 102, /** color for hover effect on buttons */
|
||||||
ViewFocusColor = 2048, /** color for focus effect on view */
|
ButtonFocusColor = 103, /** color for focus effect on buttons */
|
||||||
|
|
||||||
ComplementaryTextColor = 4096, /** text color for "complementary" areas */
|
ViewTextColor = 200, /** text color for views */
|
||||||
ComplementaryBackgroundColor = 8192, /** background color for "complementary" areas */
|
ViewBackgroundColor = 201, /** background color for views */
|
||||||
ComplementaryHoverColor = 16384, /** text color for "complementary" areas */
|
ViewHoverColor = 202, /** color for hover effect on view */
|
||||||
ComplementaryFocusColor = 32768 /** background color for "complementary" areas */
|
ViewFocusColor = 203, /** color for focus effect on view */
|
||||||
|
|
||||||
|
ComplementaryTextColor = 300, /** text color for "complementary" areas */
|
||||||
|
ComplementaryBackgroundColor = 301, /** background color for "complementary" areas */
|
||||||
|
ComplementaryHoverColor = 302, /** text color for "complementary" areas */
|
||||||
|
ComplementaryFocusColor = 303 /** background color for "complementary" areas */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user