Re: [fltk.bugs] [MOD] STR #2805: png_set_longjmp_fn not found in mac lion (xcode 4)

2012-02-09 Thread Manolo Gouy
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2805 Version: 1.3.0 This error occurs only with Apple's new LLVM 3.0 compiler. You can fix that by modifying the Build settings of the fltk-images target of the Xcode

Re: [fltk.development] new a fltk window will takes more memory

2012-02-09 Thread leowang
I have a simple large window, it contains nothing, only display black, but it will consumes lots of memory (totally w * h * 4 Bytes), ps: my platform is 32bpp. =3D Why such a simple window consume so much memory? How to reduce the memory consume. Thanks. How

[fltk.general] why labelsize() has no effect

2012-02-09 Thread leowang
Dear All, Now I am using fltk1.3, I have the following sample code. Fl_Button *b1 = new Fl_Button(200, 200, 800, 250, Beep); b1-labelcolor(FL_BLUE); b1-labelsize(36); printf(text size = %d\n, b1-labelsize()); b1-box(FL_NO_BOX); But the font display is still 14pix but not 36, the print

Re: [fltk.general] why labelsize() has no effect

2012-02-09 Thread leowang
Dear All, Now I am using fltk1.3, I have the following sample code. Fl_Button *b1 = new Fl_Button(200, 200, 800, 250, Beep); b1-labelcolor(FL_BLUE); b1-labelsize(36); printf(text size = %d\n, b1-labelsize()); b1-box(FL_NO_BOX); But the font display is still 14pix but not 36,

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread MacArthur, Ian (SELEX GALILEO, UK)
Mm, what's the original license? Only what's there already, i.e. Brian Paul saying it was in the public domain and Mark J. Kilgard saying he converted it to GLUT, so in that regard I believe we are fine. We should probably preserve it if possible. Yes; what I meant was that,

Re: [fltk.general] so I can bet on fltk3 ?

2012-02-09 Thread MacArthur, Ian (SELEX GALILEO, UK)
Yeah, after being frustrated by those new features adding to fltk1 but cannot be used on fltk2, and being frightened by the new declarations on fltk2 as never attained stability and is now generally dormant, i am glad to find fltk3. So fltk3 wrapped both fltk1 and fltk2, which could mean

Re: [fltk.general] question about Fl_Double_Window

2012-02-09 Thread MacArthur, Ian (SELEX GALILEO, UK)
In fltk1.3, there has Fl_Window and Fl_Double_Window class, the Fl_Window will malloc w*h*bpp/8 Bytes memory, but Fl_Double_Window will malloc double, which is same as fltk2.0. Then I want to ask in which case we need to use Fl_Double_Window class but can not use Fl_Window class You use a

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Albrecht Schlosser
On 09.02.2012 10:12, MacArthur, Ian (SELEX GALILEO, UK) wrote: Mm, what's the original license? Only what's there already, i.e. Brian Paul saying it was in the public domain and Mark J. Kilgard saying he converted it to GLUT, so in that regard I believe we are fine. We should

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Albrecht Schlosser
On 08.02.2012 17:48, MacArthur, Ian (SELEX GALILEO, UK) wrote: It was originally meant to run on the idle loop, and with this WIN32 that runs about 3,000 FPS. I don't get more than approx. 60 (!) FPS on my Win7 box (4 cores, with the CPU at a minimum load) Hmm, that may be a GL driver

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread MacArthur, Ian (SELEX GALILEO, UK)
All, Some flower arranging on Greg's version - adding adjustable FPS target, and a checkbox for selecting the idle loop on/off. Probably has bugs, and only tested on WinXP so far, but seems to work as expected. Needs more tidying - in parcticular the FixedFPS and IdleFPS methods duplicate a

[fltk.general] a memory question about fltk2.0

2012-02-09 Thread leowang
Dear All, I found that new a empty window will not allocate w*h*bpp/8 byte memory in fltk1.3, but in fltk2.0, it will consume w*h*bpp/8 bytes memory. Why? I think it only need allocate memory if it has some picture on it. Best regards, Leo ___ fltk

Re: [fltk.general] Fl_Shared_Image issue

2012-02-09 Thread Albrecht Schlosser
On 09.02.2012 04:28, leowang wrote: But I have a question about Fl_Shared_Image, my code is like the following: int main(int argc, char ** argv) { fl_register_images(); Fl_Window *window = new Fl_Window(0, 0, 1280, 800); window-image(Fl_Shared_Image::get(test.bmp));

Re: [fltk.general] why labelsize() has no effect

2012-02-09 Thread Albrecht Schlosser
On 09.02.2012 09:46, leowang wrote: Dear All, Now I am using fltk1.3, I have the following sample code. Fl_Button *b1 = new Fl_Button(200, 200, 800, 250, Beep); b1-labelcolor(FL_BLUE); b1-labelsize(36); printf(text size = %d\n, b1-labelsize()); b1-box(FL_NO_BOX); But the

Re: [fltk.general] Fl_Shared_Image issue

2012-02-09 Thread Greg Ercolano
On 02/08/12 19:28, leowang wrote: window-image(Fl_Shared_Image::get(test.bmp)); But when I run the program in my arm board, it only display white but not the test.bmp. I can sure the test.bmp is in the correct position. Can anyone tell my why? Thanks. I would add some error

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Brian
Ian wrote All, Some flower arranging on Greg's version - adding adjustable FPS target, and a checkbox for selecting the idle loop on/off. Probably has bugs, and only tested on WinXP so far, but seems to work as expected. Needs more tidying - in parcticular the FixedFPS and IdleFPS

[fltk.general] SegFault in fl_measure

2012-02-09 Thread ayarger
Hello, I am currently attempting to use a program that employs the FLTK library, but it crashes reliably when a drop-down menu button is clicked. It seems to occur in fl_draw's fl_measure function when the 64bit library is used. running the program through gdb on 64-bit Redhat Linux results

Re: [fltk.general] SegFault in fl_measure

2012-02-09 Thread Greg Ercolano
On 02/09/12 13:08, ayar...@umich.edu wrote: Hello, I am currently attempting to use a program that employs the FLTK library, but it crashes reliably when a drop-down menu button is clicked. It seems to occur in fl_draw's fl_measure function when the 64bit library is used. running the

[fltk.general] Scroll bar in Choice box

2012-02-09 Thread Rajesh Kumar
Hi all, I am using fltk-2.0 for my development. The program will run on ARM board with linux as OS. My choice box will contain large list . Am not getting scroll bar in choice box. So that itbecame too difficult to select items. Can anybody suggest me how to get scroll bar in choice box.

Re: [fltk.general] Scroll bar in Choice box

2012-02-09 Thread Rajesh Kumar
Thanks for the reply. Is scroll bar in choice box is available in any other FLTk version?? On Fri, Feb 10, 2012 at 12:55 PM, Edzard Egberts ed...@tantec.de wrote: My choice box will contain large list . Am not getting scroll bar in choice box. So that itbecame too difficult to select