Doxygen mods for new FL_TREE_SELECT_SINGLE_DRAGGABLE flag

o Added mention of drag+drop / FL_TREE_SELECT_SINGLE_DRAGGABLE
     to list of features on main Fl_Tree doxygen page.

   o Whitespace mods to FL_TREE_SELECT_* to fix doxygen 1.8.5
     whitespace sensitivity that was causing single sentence
     to break into two when spanning multiple "///>" comments
     for last item in an enum (doesn't end in ",")
This commit is contained in:
Greg Ercolano 2019-01-23 16:01:06 -08:00
parent 83ecdd183a
commit 4f8e07a0cd
2 changed files with 6 additions and 5 deletions

View File

@ -109,6 +109,7 @@
(inherited from Fl_Widget).<BR>
A hook is provided to allow you to redefine how item's labels are drawn
via Fl_Tree::item_draw_callback().<BR>
Items can be interactively dragged using FL_TREE_SELECT_SINGLE_DRAGGABLE.
\par SELECTION OF ITEMS
The tree can have different selection behaviors controlled by selectmode().

View File

@ -65,12 +65,12 @@ enum Fl_Tree_Connector {
/// Tree selection style.
///
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
///< with SHIFT, CTRL or mouse drags.
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
///< 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.
///< reordered by mouse drag.
};
/// \enum Fl_Tree_Item_Reselect_Mode