>From New->Decl you can can add an #include directive. However, this is then scoped by the class. There appears no way to get it at the top of the generated file.
Intent: The app/data logic is in a class entirely separate from the UI. This object is created along with the UI object. When the UI is closed by the user, this app/data object is destroyed with a virtual destructor. In order to do this, the generated UI class must include the class header for the app/data objects base class. This approach enforces a clean and efficient separation between the UI and the app logic. However, containing the #include within the UI class itself triggers the typical #ifndef HEADER_NAME and prevents the header from coming into global scope elsewhere. A change or option in Fluid2 should allow any #include statements to be written outside of the class definition. _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
