summaryrefslogtreecommitdiff
path: root/noncore/styles/web/webstyle.cpp
Unidiff
Diffstat (limited to 'noncore/styles/web/webstyle.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/web/webstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/styles/web/webstyle.cpp b/noncore/styles/web/webstyle.cpp
index 10d9791..cd3cf08 100644
--- a/noncore/styles/web/webstyle.cpp
+++ b/noncore/styles/web/webstyle.cpp
@@ -25,25 +25,25 @@
25#include <qpalette.h> 25#include <qpalette.h>
26#include <qbitmap.h> 26#include <qbitmap.h>
27#include <qtabbar.h> 27#include <qtabbar.h>
28#include <qpointarray.h> 28#include <qpointarray.h>
29#include <qscrollbar.h> 29#include <qscrollbar.h>
30#include <qframe.h> 30#include <qframe.h>
31#include <qpushbutton.h> 31#include <qpushbutton.h>
32#include <qdrawutil.h> 32#include <qdrawutil.h>
33#include <qpainter.h> 33#include <qpainter.h>
34 34
35#include "webstyle.h" 35#include "webstyle.h"
36 36
37static const int _indicatorSize = 13; 37static const int _indicatorSize = 9;
38static QButton * _highlightedButton = 0; 38static QButton * _highlightedButton = 0;
39static const int _scrollBarExtent = 12; 39static const int _scrollBarExtent = 12;
40 40
41static QFrame * _currentFrame = 0; 41static QFrame * _currentFrame = 0;
42static int _savedFrameLineWidth; 42static int _savedFrameLineWidth;
43static int _savedFrameMidLineWidth; 43static int _savedFrameMidLineWidth;
44static ulong _savedFrameStyle; 44static ulong _savedFrameStyle;
45 45
46static QColor contrastingForeground(const QColor & fg, const QColor & bg) 46static QColor contrastingForeground(const QColor & fg, const QColor & bg)
47{ 47{
48 int h, s, vbg, vfg; 48 int h, s, vbg, vfg;
49 49
@@ -712,25 +712,25 @@ WebStyle::drawIndicator
712 if (state == QButton::NoChange) 712 if (state == QButton::NoChange)
713 { 713 {
714 p->fillRect(x + 4, y + 4, w - 8, h - 8, g.background()); 714 p->fillRect(x + 4, y + 4, w - 8, h - 8, g.background());
715 } 715 }
716 } 716 }
717 717
718 p->restore(); 718 p->restore();
719} 719}
720 720
721 QSize 721 QSize
722WebStyle::exclusiveIndicatorSize() const 722WebStyle::exclusiveIndicatorSize() const
723{ 723{
724 return QSize(_indicatorSize, _indicatorSize); 724 return QSize(_indicatorSize+2, _indicatorSize+2);
725} 725}
726 726
727 void 727 void
728WebStyle::drawExclusiveIndicator 728WebStyle::drawExclusiveIndicator
729( 729(
730 QPainter * p, 730 QPainter * p,
731 int x, 731 int x,
732 int y, 732 int y,
733 int w, 733 int w,
734 int h, 734 int h,
735 const QColorGroup & g, 735 const QColorGroup & g,
736 bool on, 736 bool on,