summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/cbutton.hxx
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2002-07-29 12:48:09 +0000
committerDaniel Rentz <dr@openoffice.org>2002-07-29 12:48:09 +0000
commit3f2813dd3356c3d0d2eca177ccb35c050ee35b10 (patch)
tree7b17738585ddf0a2a892b099cacb969a693ff4ac /sc/source/ui/inc/cbutton.hxx
parentd1ee77e8e0ab13236849b07dec4e8ad70a665bec (diff)
#101561# HC for autofilter buttons
Diffstat (limited to 'sc/source/ui/inc/cbutton.hxx')
-rw-r--r--sc/source/ui/inc/cbutton.hxx23
1 files changed, 8 insertions, 15 deletions
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx
index 1b096d4935d5..08d311913650 100644
--- a/sc/source/ui/inc/cbutton.hxx
+++ b/sc/source/ui/inc/cbutton.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cbutton.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:44:57 $
+ * last change: $Author: dr $ $Date: 2002-07-29 13:48:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -85,20 +85,17 @@ public:
void Draw( const Point& rAt,
const Size& rSize,
- const Color& rArrowCol,
+ BOOL bState,
BOOL bBtnIn = FALSE );
void Draw( const Point& rAt,
- const Color& rArrowCol,
+ BOOL bState,
BOOL bBtnIn = FALSE )
- { Draw( rAt, aBtnSize, rArrowCol, bBtnIn ); }
+ { Draw( rAt, aBtnSize, bState, bBtnIn ); }
- void Draw( const Point& rAt,
+ void Draw( BOOL bState,
BOOL bBtnIn = FALSE )
- { Draw( rAt, aBtnSize, aArrowColor, bBtnIn ); }
-
- void Draw( BOOL bBtnIn = FALSE )
- { Draw( aBtnPos, aBtnSize, aArrowColor, bBtnIn ); }
+ { Draw( aBtnPos, aBtnSize, bState, bBtnIn ); }
void SetOptSizePixel();
@@ -108,18 +105,14 @@ public:
void SetSizePixel( const Size& rNewSize ) { aBtnSize = rNewSize; }
Size GetSizePixel() const { return aBtnSize; }
- void SetColor( const Color& rNewColor ) { aArrowColor = rNewColor; }
- Color GetColor() const { return aArrowColor; }
-
private:
void ImpDrawArrow( const Rectangle& rRect,
- const Color& rColor );
+ BOOL bState );
protected:
Window* pOut;
Point aBtnPos;
Size aBtnSize;
- Color aArrowColor;
};