corvid wrote:
> Greg Ercolano wrote:
>>      Will try to get to that today and check it into SVN.
> 
> Thanks!

        Fixed in r8340.

        New methods added:

                Fl_Tree::item_labelfgcolor()     -- access default fg color 
used for new items
                Fl_Tree::item_labelbgcolor()     -- access default bg color 
used for new items
                Fl_Tree::connectorcolor()        -- access the connector line 
color

        Note the Fl_Tree_Item API was *modified* for naming consistency;
        you will need to *change your application code*:

                Fl_Tree_Item::fgcolor() has been changed to.. 
Fl_Tree_Item::labelfgcolor()
                Fl_Tree_Item::bgcolor() has been changed to.. 
Fl_Tree_Item::labelbgcolor()

        These changes were necessary due to my noticing a name collision between
        Fl_Tree's old labelsize() and labelfont() methods (which controlled the 
default
        item's label and font sizes) vs. Fl_Widget's of the same name (which 
control
        the tree widget's label()).

        To avoid the name collision, use Fl_Tree::item_labelfont() and
        Fl_Tree::item_labelsize() to control the default item's font and 
fontsize.

        These changes needed to be done now, before we released.

        Other things fixed in r8340:

* * *
    o Fixed bug with select_all(item) and deselect_all(item)
      (they were not limiting themselves to children of specified item)
    o Fixed bug with item not drawing in its /own/ bgcolor when item selected
    o Fl_Tree uses the Fl_Widget::selection_color()
    o All methods that deal with 'font types' changed int -> Fl_Font
    o All methods that deal with 'font sizes' changed int -> Fl_Fontsize
    o Small doxygen comment adjustments and general clarifications
    o test/tree demo modified to include testing of new label color methods, 
cleanup
* * *
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to