summaryrefslogtreecommitdiff
authorsandman <sandman>2002-12-17 19:44:52 (UTC)
committer sandman <sandman>2002-12-17 19:44:52 (UTC)
commit5155e083a4aa2b146b3ed259c5616c09c7423ee0 (patch) (side-by-side diff)
tree8e41690515fefb2c66e38cd3112b198655127b2e
parent0e05c298cc4e5a5d509286e31a3a863e78c76456 (diff)
downloadopie-5155e083a4aa2b146b3ed259c5616c09c7423ee0.zip
opie-5155e083a4aa2b146b3ed259c5616c09c7423ee0.tar.gz
opie-5155e083a4aa2b146b3ed259c5616c09c7423ee0.tar.bz2
forgot to commit that file
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/liquid.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/styles/liquid/liquid.h b/noncore/styles/liquid/liquid.h
index 0582c9a..22331be 100644
--- a/noncore/styles/liquid/liquid.h
+++ b/noncore/styles/liquid/liquid.h
@@ -113,93 +113,92 @@ public:
int sliderLength() const;
void drawArrow(QPainter *p, Qt::ArrowType type, bool down,
int x, int y, int w, int h, const QColorGroup &g,
bool enabled=true, const QBrush *fill = 0);
void drawSlider(QPainter *p, int x, int y, int w, int h,
const QColorGroup &g, Orientation orient,
bool tickAbove, bool tickBelow);
void drawSliderMask(QPainter *p, int x, int y, int w, int h,
Orientation orient, bool, bool);
void drawMenuBarItem(QPainter *p, int x, int y, int w, int h,
QMenuItem *mi, QColorGroup &g, bool enabled, bool active );
void drawPopupMenuItem(QPainter *p, bool checkable, int maxpmw,
int tab, QMenuItem *mi, const QPalette &pal,
bool act, bool enabled, int x, int y, int w,
int h);
int popupMenuItemHeight(bool c, QMenuItem *mi, const QFontMetrics &fm);
void drawFocusRect(QPainter *p, const QRect &r, const QColorGroup &g,
const QColor *pen, bool atBorder);
int defaultFrameWidth() const {return(2);}
void polishPopupMenu(QPopupMenu *mnu);
void drawTab(QPainter *p, const QTabBar *tabBar, QTab *tab,
bool selected);
void drawTabMask( QPainter*, const QTabBar*, QTab*, bool selected );
void tabbarMetrics(const QTabBar *t, int &hFrame, int &vFrame,
int &overlap);
void drawSplitter(QPainter *p, int x, int y, int w, int h,
const QColorGroup &g, Orientation orient);
int splitterWidth() const {return(6);}
void drawPanel(QPainter *p, int x, int y, int w, int h,
const QColorGroup &g, bool sunken, int lineWidth,
const QBrush *fill);
void drawToolButton(QPainter *p, int x, int y, int w,
int h, const QColorGroup &g,
bool sunken, const QBrush *fill);
// for repainting toolbuttons when the toolbar is resized
bool eventFilter(QObject *obj, QEvent *ev);
void drawSliderGroove(QPainter * p, int x, int y, int w, int h,
const QColorGroup &g, QCOORD c, Orientation);
void drawSliderGrooveMask(QPainter * p, int x, int y, int w, int h,
QCOORD c, Orientation);
int buttonDefaultIndicatorWidth() const {return(2);}
void drawPopupPanel(QPainter *p, int x, int y, int w, int h,
const QColorGroup &g, int lineWidth,
const QBrush * fill);
protected:
void adjustHSV(QPixmap &pix, int h, int s, int v);
void intensity(QPixmap &pix, float percent);
void drawRoundButton(QPainter *p, const QColor &c, const QColor &bg, int x,
int y, int w, int h, bool supportPushDown = false,
bool pushedDown = false, bool autoDefault = false,
bool isMasked = false);
void drawClearBevel(QPainter *p, int x, int y, int w, int h,
const QColor &c, const QColor &bg);
void drawSBDeco(QPainter *p, const QRect &r, const QColorGroup &g,
bool horiz);
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);
QPixmap* getPixmap(BitmapData item);
QPixmap* processEmbedded(const char *label, int h, int s, int v, bool blend=false);
private:
- bool oldqte;
bool flatTBButtons;
QWidget *highlightWidget;
QBitmap btnMaskBmp, htmlBtnMaskBmp;
QPixmap *btnBorderPix, *btnBlendPix, *bevelFillPix, *smallBevelFillPix, *menuPix;
QBrush bgBrush, menuBrush;
bool menuAni, menuFade;
QIntDict<QPixmap>btnDict;
QIntDict<QPixmap>btnBorderDict;
QIntDict<QPixmap>bevelFillDict;
QIntDict<QPixmap>smallBevelFillDict;
QPixmap *vsbSliderFillPix;
TransMenuHandler *menuHandler;
QPixmap *pixmaps[BITMAP_ITEMS];
QPixmap sbBuffer;
int oldSliderThickness;
int lowLightVal;
QHeader *currentHeader;
int headerHoverID;
QWMatrix rMatrix;
int bH, bS, bV;
int bHoverH, bHoverS, bHoverV;
int btnH, btnS, btnV;
int btnHoverH, btnHoverS, btnHoverV;
};
#endif