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

[STR New]

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


Another increment:
even simpler and powerful approach could be to further only 2 methods and
one (bitmasked in power of 2) enum:

enum {FL_SHOW_NORMAL=0,FL_SHOW_MAXIMIZED=1, FL_SHOW_MINIMIZED=2}

/** Sets the window current showmode */
virtual void Fl_Window::show_mode(int mode);

/** Gets the current show mode state, not that a window could be minimized
and also have the state maximized so that it is being restored this way
when uniconized ... */
int Fl_Window::show_mode() const;

We can have all the functionalities enumerated (and more if we want as we
could add more options in the enum without breaking compatibility) while
keeping only 2 API to maintain, conforming to FLTK1 conventions.


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

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to