On 02/02/12 02:07, MacArthur, Ian (SELEX GALILEO, UK) wrote: > Once I fixed it so that it will actually compile, and incorporated the > changes we advised, I had this (see below) and it works perfectly, so I > do not know what the problem you have in your real code can be:
I had to change the name of 'class Display' to 'MyDisplay' to get it to work on linux (Display conflicts with X windows). Other than that, built and ran OK for me. I added printf() to print the values fl_measure() returned and got as output: Measure returned: 33, 14 Measure returned: 72, 14 Measure returned: 47, 14 _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk