From 4870cde0a68ccdc5512fc5aef1ac4502dc64476d Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sun, 25 Aug 2019 01:13:35 -0700 Subject: More fixes for STR #3527; handle usericons, etc --- FL/Fl_Tree.H | 2 +- FL/Fl_Tree_Item.H | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'FL') 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 { -- cgit v1.2.3