summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/liquid.h
authorsandman <sandman>2002-11-18 03:48:58 (UTC)
committer sandman <sandman>2002-11-18 03:48:58 (UTC)
commitc2d7749ca68a545b67e1b07ffbb65f08da203702 (patch) (side-by-side diff)
treeb5d867ada033b4c98ffaba8bb1d4cfbb8c0e023a /noncore/styles/liquid/liquid.h
parentee9696cbb7a39e0f13739ae86cd925b0f675a43c (diff)
downloadopie-c2d7749ca68a545b67e1b07ffbb65f08da203702.zip
opie-c2d7749ca68a545b67e1b07ffbb65f08da203702.tar.gz
opie-c2d7749ca68a545b67e1b07ffbb65f08da203702.tar.bz2
Optimized Liquid for handhelds:
- removed some dead code from the original liquid - removed all code related to mouse-hover - rewrote QToolButton drawing, so navigating toolbars with Menu/Direction keys looks nicer - changed the way focus indicators are drawn on many widgets - support for libqte's with version < 2.3.4
Diffstat (limited to 'noncore/styles/liquid/liquid.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/liquid/liquid.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/noncore/styles/liquid/liquid.h b/noncore/styles/liquid/liquid.h
index 00cfb35..0582c9a 100644
--- a/noncore/styles/liquid/liquid.h
+++ b/noncore/styles/liquid/liquid.h
@@ -171,26 +171,15 @@ protected:
void drawSBButton(QPainter *p, const QRect &r, const QColorGroup &g,
bool down=false, bool fast = true);
void drawRoundRect(QPainter *p, int x, int y, int w, int h);
- void loadCustomButtons();
- void applyCustomAttributes(QPushButton *btn);
- void unapplyCustomAttributes(QPushButton *btn);
QPixmap* getPixmap(BitmapData item);
QPixmap* processEmbedded(const char *label, int h, int s, int v, bool blend=false);
private:
+ bool oldqte;
bool flatTBButtons;
- bool highcolor;
- QColorGroup radioOnGrp;
QWidget *highlightWidget;
- QBrush wallpaper;
- QBitmap lightBmp;
- QBitmap grayBmp;
- QBitmap dgrayBmp;
- QBitmap maskBmp;
- QBitmap xBmp;
QBitmap btnMaskBmp, htmlBtnMaskBmp;
QPixmap *btnBorderPix, *btnBlendPix, *bevelFillPix, *smallBevelFillPix, *menuPix;
- QBitmap paper1, paper2, paper3;
- QBrush baseBrush, menuBrush, pagerBrush, pagerHoverBrush, bgBrush;
+ QBrush bgBrush, menuBrush;
bool menuAni, menuFade;
QIntDict<QPixmap>btnDict;
@@ -198,9 +187,6 @@ private:
QIntDict<QPixmap>bevelFillDict;
QIntDict<QPixmap>smallBevelFillDict;
- QList<QColor>customBtnColorList;
- QList<QPixmap>customBtnIconList;
- QStrList customBtnLabelList;
QPixmap *vsbSliderFillPix;
TransMenuHandler *menuHandler;
QPixmap *pixmaps[BITMAP_ITEMS];