|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* Lipstik widget style for KDE 3
|
|
|
|
|
/* Lipstik widget style for TDE
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2004-2007 Patrice Tremblay <poplixos@gmail.com>
|
|
|
|
|
http://www.poplix.info/lipstik
|
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2003 Sandro Giessl <ceebx@users.sourceforge.net>
|
|
|
|
|
|
|
|
|
|
based on the KDE style "dotNET":
|
|
|
|
|
based on the TDE style "dotNET":
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2001-2002, Chris Lee <clee@kde.org>
|
|
|
|
|
Carsten Pfeiffer <pfeiffer@kde.org>
|
|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2002 Malte Starostik <malte@kde.org>
|
|
|
|
|
(c) 2002,2003 Maksim Orlovich <mo002j@mail.rochester.edu>
|
|
|
|
|
based on the KDE3 HighColor Style
|
|
|
|
|
based on the TDE HighColor Style
|
|
|
|
|
Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org>
|
|
|
|
|
(C) 2001-2002 Fredrik H<EFBFBD>glund <fredrik@kde.org>
|
|
|
|
|
Drawing routines adapted from the KDE2 HCStyle,
|
|
|
|
@ -2895,9 +2895,9 @@ void LipstikStyle::drawControl(ControlElement element,
|
|
|
|
|
p->fillRect( TQRect(r.left(),r.top(), checkcol+4,r.bottom()-r.top()+1), getColor(cg, MenuStripeColor) );
|
|
|
|
|
} else {
|
|
|
|
|
if(_reverseGradients) {
|
|
|
|
|
renderGradient(p, TQRect(r.left(),r.top(), checkcol+4,r.bottom()-r.top()+1), getColor(cg, MenuStripeColor), cg.ba$
|
|
|
|
|
renderGradient(p, TQRect(r.left(),r.top(), checkcol+4,r.bottom()-r.top()+1), getColor(cg, MenuStripeColor), cg.background().light( 105 ), false);
|
|
|
|
|
} else {
|
|
|
|
|
renderGradient(p, TQRect(r.left(),r.top(), checkcol+4,r.bottom()-r.top()+1),cg.background().light( 105 ), getColo$
|
|
|
|
|
renderGradient(p, TQRect(r.left(),r.top(), checkcol+4,r.bottom()-r.top()+1),cg.background().light( 105 ), getColor(cg, MenuStripeColor), false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|