summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/inc/marktree.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-10-09 11:41:31 +0000
committerFrank Schönheit <fs@openoffice.org>2000-10-09 11:41:31 +0000
commit60630c6c81b9c7642c67afe0a94027007ae63420 (patch)
treeb1089eb69d29993de931a621757b653e0ea28663 /dbaccess/source/ui/inc/marktree.hxx
parentsome new strings (diff)
downloadcore-60630c6c81b9c7642c67afe0a94027007ae63420.tar.gz
core-60630c6c81b9c7642c67afe0a94027007ae63420.zip
use a different font when painting a disabled control
Diffstat (limited to 'dbaccess/source/ui/inc/marktree.hxx')
-rw-r--r--dbaccess/source/ui/inc/marktree.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx
index cb678408232b..a387d3afcd79 100644
--- a/dbaccess/source/ui/inc/marktree.hxx
+++ b/dbaccess/source/ui/inc/marktree.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: marktree.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: fs $ $Date: 2000-10-05 10:08:43 $
+ * last change: $Author: fs $ $Date: 2000-10-09 12:41:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,6 +81,8 @@ namespace dbaui
class OMarkableTreeListBox : public SvTreeListBox
{
SvLBoxButtonData* m_pCheckButton;
+ Link m_aCheckButtonHandler;
+
public:
OMarkableTreeListBox( Window* pParent, WinBits nWinStyle=0 );
OMarkableTreeListBox( Window* pParent, const ResId& rResId );
@@ -91,6 +93,12 @@ public:
void CheckButtons();
SvLBoxEntry* GetEntryPosByName(const String& aName,SvLBoxEntry* pStart=NULL) const;
+ /// the handler given is called whenever the check state of one or more items changed
+ void SetCheckHandler(const Link& _rHdl) { m_aCheckButtonHandler = _rHdl; }
+
+protected:
+ void Paint(const Rectangle& _rRect);
+
private:
void InitButtonData();
};
@@ -104,6 +112,9 @@ private:
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.1 2000/10/05 10:08:43 fs
+ * initial checkin
+ *
*
* Revision 1.0 28.09.00 13:19:31 fs
************************************************************************/