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