On 11/06/12 15:01, Matthias Melcher wrote:
> CHANGES IN FLTK 1.3.1
> [..]
> 1.3.1 ABI FEATURES
> (To enable the following ABI features, put: #define FLTK_ABI_VERSION 10301 at
> the top
> of your FL/Enumerations.H and rebuild FLTK and your app)
>
> • Fl_Tree optimized to support large trees (eg. 100k items): Added
> _next_sibling
> and _prev_sibling to Fl_Tree_Item class, and support methods.
Thanks Matthias for that release!
BTW, in 1.3.1 there are some other ABI features that get enabled
when one defines that FLTK_ABI_VERSION macro, namely:
* Fl_Tooltip: enables these get/set methods:
margin_width() -- margin space at left/right of tooltip
margin_height() -- margin space at top/bottom of tooltip
wrap_width() -- max width of text before it wraps
* Fl_Device: copy_offscreen() is made virtual
* Fl_Paged_Device: destructor is public virtual
* Fl_Tree: adds these get/set methods:
item_labelbgcolor() -- label's default bg color
marginbottom() -- the extra distance the scroller
lets you travel "beyond" the bottom item
widgetmarginleft() -- margin to the left of custom widgets
item_reselect_mode() -- controls how item can be reselected
item_draw_mode() -- affects how items in tree are drawn
..and the size of Fl_Tree_Item was made smaller by 3 integers
(saves a lot of space when you have many thousands of tree items)
by converting 4 integer flags into a single integer bit flag.
* Fl_Table: scrollbar_size() method added so that Fl_Table's
scrollbars can be controlled on a per-widget basis.
* Fl_Spinner: The input_, up_button, down_button widgets are
now 'protected' instead of 'private', so that derived
classes can access them directly.
* Fl_Pixmap: the member pixmap_bg_color changed from a static member
to a non-static.
* Fl_Window: The following private members were changed from
static to non-static:
> no_fullscreen_x
> no_fullscreen_y
> no_fullscreen_w
> no_fullscreen_h
* Fl_Double_Window: fl_copy_offscreen() now uses fl_graphics_driver's
copy_offscreen() consistently across all platforms.
* tests: The following test program's user interfaces changed a bit
to support the above modifications:
> unittest -- scrollbar size features for Fl_Table enabled
> tree -- new methods are now exercised
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk