Folks, In the past, I've used fluid to generate positioning code, pasted that into my code, and otherwise ignored what Fluid generates. I've recently begun looking for better ways to use fluid.
My chief problem is that I don't want to "code" in Fluid; I want to write the functions that lay out my widgets in Fluid, and leave the coding of callbacks and other functions to my IDE. However, If I generate a class in Fluid, then add functions to class, I cannot go back and modify my GUI in fluid, since the generated code will wipe out my outside-of-fluid changes. The "obvious" solution is to use the fluid-generated class as a base class. However, my derived class would need access to the data members (widgets) in this class, so they have to be public -- can we add an option to make something protected in Fluid? I can hack the code to change the private field to protected, but that's not a real solution. I'm interested in hearing how others solve this problem and use Fluid more effectively than I do. Cheers, Ken -- Ken Yarnall Dept. of Mathematical Sciences Lebanon Valley College Assoc. Professor of Math and CS (717)867-6085 [EMAIL PROTECTED] _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

