summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2019-08-25 01:13:35 -0700
committerGreg Ercolano <erco@seriss.com>2019-08-25 01:13:35 -0700
commit4870cde0a68ccdc5512fc5aef1ac4502dc64476d (patch)
tree60e823eb9e540a586f0607e78fa30be9e1b04453 /FL
parenteed1d364d953850e53fc9570bb94ff61ea01086c (diff)
More fixes for STR #3527; handle usericons, etc
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Tree.H2
-rw-r--r--FL/Fl_Tree_Item.H1
2 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H
index d57e33ad6..9e77faad3 100644
--- a/FL/Fl_Tree.H
+++ b/FL/Fl_Tree.H
@@ -293,7 +293,7 @@ class FL_EXPORT Fl_Tree : public Fl_Group {
Fl_Tree_Prefs _prefs; // all the tree's settings
int _scrollbar_size; // size of scrollbar trough
Fl_Tree_Item *_lastselect; // last selected item
- char _lastpushed; // entity FL_PUSH occurred on: 0=nothing, 1=open/close, 2=item
+ char _lastpushed; // FL_PUSH occurred on: 0=nothing, 1=open/close, 2=usericon, 3=label
void fix_scrollbar_order();
protected:
diff --git a/FL/Fl_Tree_Item.H b/FL/Fl_Tree_Item.H
index 993c9f8da..3934ec80d 100644
--- a/FL/Fl_Tree_Item.H
+++ b/FL/Fl_Tree_Item.H
@@ -453,6 +453,7 @@ public:
const Fl_Tree_Item* find_clicked(const Fl_Tree_Prefs &prefs, int yonly=0) const;
Fl_Tree_Item* find_clicked(const Fl_Tree_Prefs &prefs, int yonly=0);
int event_on_collapse_icon(const Fl_Tree_Prefs &prefs) const;
+ int event_on_user_icon(const Fl_Tree_Prefs &prefs) const;
int event_on_label(const Fl_Tree_Prefs &prefs) const;
/// Is this item the root of the tree?
int is_root() const {