diff options
| author | Lauri Kasanen <cand@gmx.com> | 2014-09-05 12:04:28 +0000 |
|---|---|---|
| committer | Lauri Kasanen <cand@gmx.com> | 2014-09-05 12:04:28 +0000 |
| commit | d1d203ca57d39af952478d8b174975d410a38899 (patch) | |
| tree | 485947c29c8873e3d20054a64274dd080a078581 /FL/Fl_Tree_Prefs.H | |
| parent | d67f2e8e3e5d7b2a3364ac90bdcf4a9d9bababc0 (diff) | |
Add support for dragging to reorder in Fl_Tree, STR #2828 (I)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Tree_Prefs.H')
| -rw-r--r-- | FL/Fl_Tree_Prefs.H | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl_Tree_Prefs.H b/FL/Fl_Tree_Prefs.H index 1b1a7b139..1ef56ca52 100644 --- a/FL/Fl_Tree_Prefs.H +++ b/FL/Fl_Tree_Prefs.H @@ -67,8 +67,10 @@ enum Fl_Tree_Connector { enum Fl_Tree_Select { FL_TREE_SELECT_NONE=0, ///< Nothing selected when items are clicked FL_TREE_SELECT_SINGLE=1, ///< Single item selected when item is clicked (default) - FL_TREE_SELECT_MULTI=2 ///< Multiple items can be selected by clicking + FL_TREE_SELECT_MULTI=2, ///< Multiple items can be selected by clicking ///< with SHIFT, CTRL or mouse drags. + FL_TREE_SELECT_SINGLE_DRAGGABLE=3, ///< Single items may be selected, and they may be + ///< reordered by mouse drag. }; #if FLTK_ABI_VERSION >= 10301 |
