From 80035308b1907d75e7e09be7c8f6e14098edd533 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 4 Aug 2011 08:18:22 +0000 Subject: Add initial support for Kicker "Deep Buttons", a more highly textured style than the normal "flat" Kicker GUI Add preliminary GUI and configuration structures needed for hot-resizing panels git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1244835 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker/libkicker/panelbutton.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'kicker/libkicker/panelbutton.h') diff --git a/kicker/libkicker/panelbutton.h b/kicker/libkicker/panelbutton.h index ff0f5f2a8..7fd2cca6d 100644 --- a/kicker/libkicker/panelbutton.h +++ b/kicker/libkicker/panelbutton.h @@ -53,7 +53,7 @@ public: * @param parent the parent widget * @param name the widget's name */ - PanelButton( TQWidget* parent, const char* name ); + PanelButton( TQWidget* parent, const char* name, bool forceStandardCursor = FALSE ); /** * Configures this button according to the user's preferences for @@ -294,7 +294,9 @@ protected: virtual void mouseReleaseEvent(TQMouseEvent *); virtual void resizeEvent(TQResizeEvent*); virtual void drawButton(TQPainter *); + virtual void drawDeepButton(TQPainter *); virtual void drawButtonLabel(TQPainter *); + virtual void drawButtonLabel(TQPainter *, int voffset, bool drawArrow); /** * @return the preferred icon size. @@ -397,6 +399,7 @@ private: Orientation m_orientation; int m_size; double m_fontPercent; + bool m_forceStandardCursor; static KShadowEngine* s_textShadowEngine; class PanelPopupPrivate; @@ -416,7 +419,7 @@ public: * @param parent the parent widget * @param name the widget's name */ - PanelPopupButton(TQWidget *parent=0, const char *name=0); + PanelPopupButton(TQWidget *parent=0, const char *name=0, bool forceStandardCursor = FALSE); /** * Sets the button's popup menu. -- cgit v1.2.1