On 11.07.2011, at 16:25, MacArthur, Ian (SELEX GALILEO, UK) wrote: > > On Jul 9, 2011, at 5:43 PM, Ian MacArthur wrote: > > ... > I may be going off at a slight tangent here, but it > occurs to me that there are two sides to to making the examples folder > build under fltk3; > > a) tweak the examples to be fltk3 like
It's done for the test/ directory. That one is now is FLTK3 code throughout. Two or three test projects were deleted because Forms compatibility will not fit with the new namespace scheme. Some of the test programs (most?) are as old as FLTK an use - um - "funny" names from "Forms" times. Most should probably be further modernized. We can probably do the same with the examples/ directory pretty easily. > b) tweak fltk3 so that it correctly builds the fltk1 > examples, thus proving the compatibility layer works. This is what the test1/ directory does. The code here is 99.9% untouched and serves as a test for the compatibility layer. Most of the programs run, but destructors and some of the image functions are not yet wrapped, so some crashes will still happen. > It looks like Alex has been taking a run at (a) here, > but I'd suggest that at this stage in the game, getting (b) to work > would be more useful. > > Thoughts? Both ;-) . But most of b) probably works already. We just need to copy the original examples/ directory into examples1/ and adapt the global makefile. - Matthias _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
