[fltk.bugs] [LOW] STR #2803: 64-bit compiler warnings

2012-02-02 Thread mark olesen
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2803 Version: 1.3-current Raise an STR (Software Trouble Report) at http://www.fltk.org/str.php and attach a patch file to it. That way it is tracked in the system. fyi:

Re: [fltk.bugs] [LOW] STR #2803: 64-bit compiler warnings

2012-02-02 Thread mark olesen
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2803 Version: 1.3-current Attached file diff.txt... Link: http://www.fltk.org/str.php?L2803 Version: 1.3-current--- ./orig/./FL/glut.H 2011-07-18 23:49:30.0

[fltk.bugs] [HIGH] STR #2804: horizontal mousewheel causes crash under windows

2012-02-02 Thread Carsten Paproth
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2804 Version: 2.0-current There is a missing return 0; in src/win32/run.cxx, the patch fixes the bug. Link: http://www.fltk.org/str.php?L2804 Version: 2.0-currentIndex:

Re: [fltk.bugs] [LOW] STR #2803: 64-bit compiler warnings

2012-02-02 Thread mark olesen
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2803 Version: 1.3-current ok, i posted a selective patch for review for warnings that would require a lot more effort, I skipped them -- need more time to investigate.

Re: [fltk.general] Fl_Output doesn't draw properly

2012-02-02 Thread MacArthur, Ian (SELEX GALILEO, UK)
I made the recommended improvements but without any effect. On debugging I found out that the measurement of the topmost Fl_Output widget (calling fl_measure()) sets 0 to my width variable (wi). The measurement of the next widgets is ok. That's why I think - but am not sure - that the reason

Re: [fltk.general] Fl_Output doesn't draw properly

2012-02-02 Thread MacArthur, Ian (SELEX GALILEO, UK)
setting the font before calling fl_measure() didn't have the desired result. But I found a workaround: before adding the topmost Fl_Output I add a dummy Fl_Output with width = 0 and height = 0. And now the topmost widget is measured correctly. So my application works properly - but it would

[fltk.general] fatal error in file_chooser

2012-02-02 Thread Forough Mehralian
 hi why I encounter with a fatal error by adding this line:   char *address; address = fl_file_chooser(where do you want to save, , sheet1.txt); ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Fl_Output doesn't draw properly

2012-02-02 Thread Greg Ercolano
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

Re: [fltk.general] fatal error in file_chooser

2012-02-02 Thread Greg Ercolano
On 02/02/12 06:09, Forough Mehralian wrote: hi why I encounter with a fatal error by adding this line: char *address; address = fl_file_chooser(where do you want to save, , sheet1.txt); Works for me when I use it in a test program, eg: #include FL/Fl.H #include

Re: [fltk.general] Fl_Output doesn't draw properly

2012-02-02 Thread MacArthur, Ian (SELEX GALILEO, UK)
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

Re: [fltk.general] Fl_Output doesn't draw properly

2012-02-02 Thread Greg Ercolano
On 02/02/12 06:28, MacArthur, Ian (SELEX GALILEO, UK) wrote: Other than that, built and ran OK for me. My code, or Martin's (testalucida's) original example? I started with your code. OP's wouldn't build; missing includes, std:: notation, etc. Also, I could see

[fltk.general] How I conquered FLTK with Eclipse Indigo and MinGW

2012-02-02 Thread Matthew Cushman
I am posting this in the hopes that one other ignorant dilettante will be spared what I just went through. To build with FLTK (1.3.0) and MinGW using Eclipse (indigo): First follow the steps to build fltk: open an msys mingw shell, follow the steps. I copied the resulting files from the msys