Re: [fltk.development] RFC: simple portable process popen/pclose handling class serviceaddon for fltk 1.3

2008-08-31 Thread Fabien Costantini
Fabien Costantini wrote: So my question here is would you agree/appreciate to see this API in fltk 1.3 lib ? I guess the question is how often this kind of code would be used? FLUID could use it, just as fldiff does, but most applications probably don't need it so I'm not sure it is

Re: [fltk.development] RFE: Fl_Group::resize() additional methods for fltk 1.x

2008-08-31 Thread Albrecht Schlosser
Greg Ercolano wrote: Looking at the code for Fl_Group::resize(), it tells children to resize before updating its own size. This is a problem if the children's resize() code wants to know what the parent's new size is going to be. Assuming there's a good

Re: [fltk.development] RFE: Fl_Group::resize() additional methods for fltk 1.x

2008-08-31 Thread Albrecht Schlosser
Albrecht Schlosser wrote: I'm not _absolutely_ sure about this, but I'd consider this a bug (calling Fl_widget::resize() after calling resize() for the children), because it will be done at the - unconditionally - anyway. That means, should read: ... it will be done at the end -

Re: [fltk.development] RFE: Fl_Group::resize() additional methods for fltk 1.x

2008-08-31 Thread greg ercolano
Albrecht Schlosser wrote: Greg Ercolano wrote: Looking at the code for Fl_Group::resize(), it tells children to resize before updating its own size. This is a problem if the children's resize() code wants to know what the parent's new size is going to be. Assuming

Re: [fltk.development] RFE: Fl_Group::resize() additional methods for fltk 1.x

2008-08-31 Thread Albrecht Schlosser
greg ercolano wrote: Albrecht Schlosser wrote: Greg Ercolano wrote: Looking at the code for Fl_Group::resize(), it tells children to resize before updating its own size. This is a problem if the children's resize() code wants to know what the parent's new size is going to be.

Re: [fltk.development] RFE: Fl_Group::resize() additional methods for fltk 1.x

2008-08-31 Thread Bill Spitzak
Albrecht Schlosser wrote: Having said this, I think that FLTK 2.0 might be different, because of its different resizing approach (isn't there a layout() method that is called first ?). Albrecht In fltk2.0 resize() is not a virtual method, it just directly sets xywh. layout() is a

Re: [fltk.development] RFE: Fl_Group::resize() additional methods for fltk 1.x

2008-08-31 Thread Albrecht Schlosser
Greg Ercolano wrote: With the revised patch Fl_Group_resize_2.patch, everything seems okay now. This one could be optimized, too, because the sizes() call at the beginning wouldn't be needed, if there are no children. It's just for a proof of concept... I also added the equivalent patch

Re: [fltk.development] [RFE] STR #1923: Enhance non-modal windows on Mac OS X

2008-08-31 Thread Fabien Costantini
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1923 Version: 1.3-feature This would contradict the FTLK OS transparent interface rendering objective. This said, it would be interesting to have such ' hide when

[fltk.development] RFC Should CMake be responsible for ms visual targets generation

2008-08-31 Thread Fabien Costantini
Presently we have 3 different targets only for ms visual development products, considering the new msvisual 2008 tools, we should add another one.. This leads as it has been noted, to very hard build files management. On one hand, cmake would avoid this difficulty, on the other hand, it is not a