summaryrefslogtreecommitdiff
path: root/FL/Fl_Tree.H
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2011-12-06 21:08:07 +0000
committerGreg Ercolano <erco@seriss.com>2011-12-06 21:08:07 +0000
commit272475dde48e43c4b19799847c5ca3937eeceae3 (patch)
tree22c13b4f118389268589c2c6abc5c349a245f835 /FL/Fl_Tree.H
parentd250e21542818846c8a2cbd9b04e67b099eb05ce (diff)
Fixing STR #2786; clipping problem with child FLTK widgets.
Replication: Run 'tree' demo, open '500 items' subtree, change 'connector width' to 100.. the "D2" and "ccc" buttons would overdraw the scrollbar. (Not the regular tree items) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9197 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Tree.H')
-rw-r--r--FL/Fl_Tree.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H
index d6f7bc1b2..7a9111114 100644
--- a/FL/Fl_Tree.H
+++ b/FL/Fl_Tree.H
@@ -199,6 +199,8 @@ class FL_EXPORT Fl_Tree : public Fl_Group {
Fl_Tree_Prefs _prefs; // all the tree's settings
int _scrollbar_size; // size of scrollbar trough
+ void fix_scrollbar_order();
+
protected:
Fl_Scrollbar *_vscroll; ///< Vertical scrollbar
void item_clicked(Fl_Tree_Item* val);