[fltk.general] libpng-problem when compiling fltk-1.1.10 using Fedora17

2012-11-10 Thread Edzard Egberts
For older projects I need fltk 1.1.10 and tried to compile it at new set up system. Compiling fltk-1.3.0 works, but 1.1.10 tells about an error in "png.h" and doesn't create libfltk_images.a (libfltk.a and libfltk_forms.a it creates): /usr/include/png.h:722:16: Fehler: forward declaration of »p

[fltk.general] pointers & scope, questions and confirmation

2012-11-10 Thread Patrick
Hi Everyone Apologies if these questions are really more C++ then FLTK In the test folder of the source there is a program called inactive.cxx. I will copy and past the full program at the end of the email. There is this line: Fl_Group *the_group=(Fl_Group *)0; and this one: static void c

Re: [fltk.general] fltk2.0's filename_list not working with utf8

2012-11-10 Thread Ian MacArthur
On 7 Nov 2012, at 21:29, Gonzalo Garramuno wrote: > scandir is the problem. It works on some directories with accents and not on > others. It seems it has problems on those directories that are fake in > Windows, as they are the translation of some other directory. Example: "My > videos"

Re: [fltk.general] pointers & scope, questions and confirmation

2012-11-10 Thread Ian MacArthur
Hi Patrick, I'll interleave some responses below, but I'm in a hurry so apologies in advance if I seem glib or harsh. However, this is pretty basic stuff, so you might do better reading up on some programming courses or etc. online here... On 10 Nov 2012, at 14:32, Patrick wrote: > Apologies

Re: [fltk.general] libpng-problem when compiling fltk-1.1.10 using Fedora17

2012-11-10 Thread Ian MacArthur
On 10 Nov 2012, at 10:46, Edzard Egberts wrote: > For older projects I need fltk 1.1.10 and tried to compile it at new set > up system. Compiling fltk-1.3.0 works, but 1.1.10 tells about an error > in "png.h" and doesn't create libfltk_images.a (libfltk.a and > libfltk_forms.a it creates): >

Re: [fltk.general] libpng-problem when compiling fltk-1.1.10 usingFedora17

2012-11-10 Thread Edzard Egberts
Ian MacArthur schrieb: > > On 10 Nov 2012, at 10:46, Edzard Egberts wrote: >> So, how to solve the png.h problem, or how to build without using >> system files? > > Anyway, I tried two trees, one with the system png and one with the > local fltk png; both built just fine and appear to be working >

[fltk.general] status bar in FLTK ?

2012-11-10 Thread Patrick
Thanks again to Ian for answering my last post. I would have been stuck on that for a long time but now it's so obvious. I was creating two pointers with the same name. I hope I am not wearing out my welcome... I have another question... if someone can even spare a "yes or no" response it will

Re: [fltk.general] status bar in FLTK ?

2012-11-10 Thread Edzard Egberts
> I am wondering if I am on the right track regarding status bars. I found > this post here: > http://www.gidforums.com/t-26030.html?highlight=status > > This person was using a button for a status bar. There does not seem to > be a native status bar in FLTK but is this the best way to simulate one

Re: [fltk.general] libpng-problem when compiling fltk-1.1.10 usingFedora17

2012-11-10 Thread Ian MacArthur
On 10 Nov 2012, at 16:37, Edzard Egberts wrote: > Ian MacArthur schrieb: >> >> On 10 Nov 2012, at 10:46, Edzard Egberts wrote: >>> So, how to solve the png.h problem, or how to build without using >>> system files? >> >> Anyway, I tried two trees, one with the system png and one with the >> loc

Re: [fltk.general] status bar in FLTK ?

2012-11-10 Thread Ian MacArthur
On 10 Nov 2012, at 17:57, Patrick wrote: > I am wondering if I am on the right track regarding status bars. I found > this post here: > http://www.gidforums.com/t-26030.html?highlight=status > > This person was using a button for a status bar. There does not seem to > be a native status bar in

Re: [fltk.general] status bar in FLTK ?

2012-11-10 Thread Greg Ercolano
On 11/10/12 09:59, Patrick wrote: > Thanks again to Ian for answering my last post. I would have been stuck > on that for a long time but now it's so obvious. I was creating two > pointers with the same name. > > I hope I am not wearing out my welcome... I have another question... if > someone