code prepared for gradients branch
This commit is contained in:
parent
d9976527fd
commit
8ba6085081
|
@ -50,12 +50,12 @@ class GraphicLabel : public QskGraphicLabel
|
|||
QskGradient gradient;
|
||||
if ( on )
|
||||
{
|
||||
gradient.setColor( qRgb( 40, 40, 40 ) );
|
||||
gradient = QskGradient( qRgb( 40, 40, 40 ) );
|
||||
setGraphicRole( Inverted );
|
||||
}
|
||||
else
|
||||
{
|
||||
gradient.setColor( QskRgb::Wheat );
|
||||
gradient = QskGradient( QskRgb::Wheat );
|
||||
setGraphicRole( Normal );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue