diff options
author | Daniel Rentz <dr@openoffice.org> | 2002-05-22 13:38:17 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2002-05-22 13:38:17 +0000 |
commit | 3a370365cd1e5d366218023ea3a5bc09f8afd29c (patch) | |
tree | 5274545ea11230eb80f55d1912b773c50a436651 /sc/source/ui/inc/fieldwnd.hxx | |
parent | b82bd3498abecf7f7fc53136e8498c84f2cb32e4 (diff) |
#99357# use StyleSettings for controls
Diffstat (limited to 'sc/source/ui/inc/fieldwnd.hxx')
-rw-r--r-- | sc/source/ui/inc/fieldwnd.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx index dfe30ca46a55..6cd2f43bafa4 100644 --- a/sc/source/ui/inc/fieldwnd.hxx +++ b/sc/source/ui/inc/fieldwnd.hxx @@ -2,9 +2,9 @@ * * $RCSfile: fieldwnd.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: dr $ $Date: 2002-03-01 11:33:44 $ + * last change: $Author: dr $ $Date: 2002-05-22 14:37:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -105,10 +105,16 @@ private: Point aTextPos; /// Position of the caption text. String** aFieldArr; /// Pointer to string array of the field names. ScDPFieldType eType; /// Type of this area. + Color aFaceColor; /// Color for dialog background. + Color aWinColor; /// Color for window background. + Color aTextColor; /// Color for text output. long nFieldSize; /// Maximum count of fields. long nFieldCount; /// Count of existing fields. long nFieldSelected; /// Currently selected field. + /** Reads all needed style settings. */ + void GetStyleSettings(); + /** @return The pixel position of a field (without bound check). */ Point GetFieldPosition( long nIndex ) const; /** @return The pixel size of a field. */ @@ -153,6 +159,7 @@ private: protected: virtual void Paint( const Rectangle& rRect ); + virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void MouseButtonDown( const MouseEvent& rMEvt ); virtual void MouseButtonUp( const MouseEvent& rMEvt ); virtual void MouseMove( const MouseEvent& rMEvt ); |