Checked in a bunch of mods to fltk1.3.x svn's Fl_Tree this weekend:
r9385, r9381, r9380, r9377

Those of you using Fl_Tree should probably update to r9385.

Some features did not affect the ABI. However, to access /all/ the
features listed below (including the ABI breaking ones), uncomment
the FLTK_ABI_VERSION line in FL/Enumerations.H

Still have some RFEs open, will try to get to those next weekend.

I've documented all the keyboard navigation stuff in the latest
doxygen docs for Fl_Tree; a new keyboard binding table describes
behavior for  ^A/spacebar/enter/up/down/left/right and modifier combos.
Use '( cd documentation; make html )' to get the new docs.

Comments from the above mentioned commits:
    o Fix STR#2828 (E): {Vertical|Widget} Gap
      (Basically exposed Fl_Tree_Prefs::linespacing() in Fl_Tree's API)
    o Moved Fabien's reselected methods to Fl_Tree_Prefs,
      return method made const, doxygen, removed underbars from methods
      (to follow general API)
    o Widgets can now appear to the right of labels.
      This can be controlled with 
item_draw_mode(FL_TREE_ITEM_DRAW_LABEL_AND_WIDGET)
    o Cleaned up Fl_Tree_Item::draw(), Fl_Tree::draw()
    o New public methods in Fl_Tree:
            marginbottom()       -- [ABI feature] extra space below last tree 
element when scrolling
            widgetmarginleft()   -- [ABI feature] space to left of widget
            usericonmarginleft() -- space to left of usericon
            labelmarginleft()    -- space to left of label
            item_draw_mode()     -- control how items, widget() are drawn
    o Updated Fl_Tree docs, tree-elements.png
    o test/tree: added sliders to test the new features,
      added "open all" and "close all" buttons
    o Doc fixes
    o New calc_item_height() changed to const
    o Fixed problem with linespacing(): should not affect widget() size
    o Added keyboard navigation table
    o Added Shift-Click to extend selections,
      Ctrl-Space to toggle selection,
      Enter key toggle
    o Added protected extend_selection(from_item,to_item)
    o Cleanup of Fl_Tree::handle()
    o Limit ^A to multi-select mode only
    o Disable focus box in SELECT_NONE mode
    o test/tree: changed default mode to 'multiselect' (most often needs 
testing)
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to