summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/marktree.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-04-27 07:10:27 +0000
committerFrank Schönheit <fs@openoffice.org>2001-04-27 07:10:27 +0000
commit848e9af10f0d5595b7e5fb5fe850a69be2084004 (patch)
tree962e0278c4a2b71cabdf0efc77757ed4c9e6ce81 /dbaccess/source/ui/inc/marktree.hxx
parent48a6f471d0974ac0a8d3809975929a8859336241 (diff)
+implDeterminedState - needed to correctly implement CheckButtons
Diffstat (limited to 'dbaccess/source/ui/inc/marktree.hxx')
-rw-r--r--dbaccess/source/ui/inc/marktree.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx
index 41062a2a6..84c9905fc 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.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: fs $ $Date: 2001-01-30 08:28:00 $
+ * last change: $Author: fs $ $Date: 2001-04-27 08:09:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,7 +90,7 @@ public:
virtual void KeyInput( const KeyEvent& rKEvt );
virtual void CheckButtonHdl();
- void CheckButtons();
+ void CheckButtons(); // make the button states consistent (bottom-up)
SvLBoxEntry* GetEntryPosByName(const String& aName,SvLBoxEntry* pStart=NULL) const;
/// the handler given is called whenever the check state of one or more items changed
@@ -100,6 +100,9 @@ protected:
virtual void Paint(const Rectangle& _rRect);
virtual void checkedButton_noBroadcast(SvLBoxEntry* _pEntry);
+ SvButtonState implDetermineState(SvLBoxEntry* _pEntry);
+ // determines the check state of the given entry, by analyzing the states of all descendants
+
private:
void InitButtonData();
};
@@ -113,6 +116,9 @@ private:
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.3 2001/01/30 08:28:00 fs
+ * +checkedButton_noBroadcast
+ *
* Revision 1.2 2000/10/09 12:41:31 fs
* use a different font when painting a disabled control
*