summaryrefslogtreecommitdiff
path: root/dbaccess/inc
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-16 18:43:28 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2010-11-16 18:46:24 +0100
commitc96bb897e04fd43053c7f093d8aa15806db430e2 (patch)
treecc47ebe6c9f84202065949adf2b6729e13d84831 /dbaccess/inc
parentd53f5a3661e510626a6dd640da703baca3203b41 (diff)
Remove _HC occurences
Diffstat (limited to 'dbaccess/inc')
-rw-r--r--dbaccess/inc/ToolBoxHelper.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/dbaccess/inc/ToolBoxHelper.hxx b/dbaccess/inc/ToolBoxHelper.hxx
index 3ba6d61d197d..e95e40a0f4a1 100644
--- a/dbaccess/inc/ToolBoxHelper.hxx
+++ b/dbaccess/inc/ToolBoxHelper.hxx
@@ -43,6 +43,7 @@ namespace dbaui
{
class DBACCESS_DLLPUBLIC OToolBoxHelper
{
+ sal_Bool m_bIsHiContrast;// true when the toolbox is in hi contrast mode
sal_Int16 m_nSymbolsSize; // shows the toolbox large or small bitmaps
ToolBox* m_pToolBox; // our toolbox (may be NULL)
public:
@@ -58,8 +59,10 @@ namespace dbaui
/** will be called when the image list is needed.
@param _eSymbolsSize
<svtools/imgdef.hxx>
+ @param _bHiContast
+ <TRUE/> when in high contrast mode.
*/
- virtual ImageList getImageList(sal_Int16 _eSymbolsSize) const = 0;
+ virtual ImageList getImageList(sal_Int16 _eSymbolsSize,sal_Bool _bHiContast) const = 0;
/** only the member will be set, derived classes can overload this function and do what need to be done.
@param _pTB
@@ -75,6 +78,7 @@ namespace dbaui
*/
void checkImageList();
+ inline sal_Bool isToolBoxHiContrast() const { return m_bIsHiContrast; }
protected:
DECL_LINK(ConfigOptionsChanged, SvtMiscOptions*);
DECL_LINK(SettingsChanged, VclWindowEvent* );