DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Active]

Link: http://www.fltk.org/str.php?L2563
Version: 1.3-feature


Pierre Ossman wrote:

> Since the icon_ variable is a void* and private, we can actually
> re-purpose it to hold something completely different, say a structure
> with as many fields as we need.

Ah, I see; now I got it. ;-)

This looks reasonable and doable. It has the additional advantage that the
base class Fl_Window will stay small, and that the memory needed by such a
struct will only be allocated when/if an icon is actually set.

I'm going to commit it as time permits. Thanks for the patch and for
sharing your thoughts.


Link: http://www.fltk.org/str.php?L2563
Version: 1.3-feature

_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to