>> I voted for hiding as well, and Manolo did it recently for X11, but >> now I found out that we *have* some documentation for Fl_X in the >> chapter "Operating System Issues", section "Using a Subclass of >> Fl_Window for Special X Stuff". This is X11 only, and I guess only >> hardcore X11 developers can understand and use all of it ;-) >> >> So, what to do now? Revert? Rewrite/remove this documentation chapter? >> What about those who used this information in their programs? > > Document the workaround (define FL_LIBRARY) and note that such code will > likely not be portable to future versions of FLTK.
As far as I know, this is the way to do OS specific things, like get a handle on the underlying window and call OS functions, right? In that case it should be kept. I'm not sure that we need to put a lot of work into saving people from themselves, I think clear documentation on it saying that its whole point is to be system specific and it may change between fltk versions is good enough. But if people are afraid of accidentally using it (as I did), then this and other system specific things can be hidden by default, unless FLTK_EXPOSE_INTERNALS is defined. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
