CComponents: add setColBodyGradient() to set gradient properties

This provides possibility to set relevant gradiant properties in cc sub classes
This commit is contained in:
2014-09-20 21:35:02 +02:00
committed by [CST] Focus
parent 581405e076
commit f9147d185a
6 changed files with 28 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ class CColorGradient
inline uint8_t limitChar(int c);
public:
///gradient mode
enum {
gradientDark2Light,
gradientLight2Dark,
@@ -41,6 +41,7 @@ class CColorGradient
gradientLight2Dark2Light
};
///intensity
enum {
light,
normal