Oguz Akyuz wrote: > I've been using FLTK for some time now, and I'm generally very > satisfied with it. However, one nuisance that often disturbs me > is when I "Write Code" using fluid, it updates both header and > sources files causing the subsequent compilation take a painstakingly > longer time. This is especially a problem if the project is large > and the updated header file causes many files to compile. > > So instead of blindly updating both header and source files, can > "Write Code" be a little more intelligent and update the header > file only when necessary (i.e. when the interface changes, etc.)?
What you can also do is reduce the amount of code that you provide in the fluid generated part to a minimum. Either provide the callback code in a separate file, like in the documentation for fluid, or create a very thin base class in fluid with virtual callbacks. Then [using a more standard code editor than fluid] override these callbacks and provide the implementation logic in a derived class. I think I have a simple example at home I can post this evening. D. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

