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

2012-02-03 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I am posting this in the hopes that one other ignorant dilettante will > be spared what I just went through. See, this is why I can't abide IDE's - they are supposed to make things easier, but just make things harder. Really, it is *not* this complicated... If you use a Makefile that calls fl

Re: [fltk.general] How I conquered FLTK with Eclipse Indigo andMinGW

2012-02-03 Thread Greg Ercolano
On 02/03/12 01:24, MacArthur, Ian (SELEX GALILEO, UK) wrote: > Though my strong recommendation is just to have a simple Makefile and > just have the IDE call that directly (in my experience, all that Eclipse > does is write its own Makefile anyway, in a really scrappy style that is > hard to read -

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

2012-02-03 Thread testalucida
Hi all, thank you for your efforts! It works as you say, but I still can't understand why this doesn't work: textfont( FL_HELVETICA_BOLD ); textsize( 12 ); (instead of fl_font(textfont(), textsize()); ) And why does it work when adding a dummy Fl_Output first? bye testalucida On 02/02/12 06:28

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

2012-02-03 Thread Greg Ercolano
On 02/03/12 11:21, testalucida wrote: > Hi all, > thank you for your efforts! > It works as you say, but I still can't understand why this doesn't work: > textfont( FL_HELVETICA_BOLD ); > textsize( 12 ); > (instead of fl_font(textfont(), textsize()); ) fl_font() sets the "current font" use

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

2012-02-03 Thread Albrecht Schlosser
On 03.02.2012 20:21, testalucida wrote: > It works as you say, but I still can't understand why this doesn't work: > textfont( FL_HELVETICA_BOLD ); > textsize( 12 ); > (instead of fl_font(textfont(), textsize()); ) ... as Greg said ... > And why does it work when adding a dummy Fl_Output first?

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

2012-02-03 Thread testalucida
> On 02/03/12 11:21, testalucida wrote: > > Hi all, > > thank you for your efforts! > > It works as you say, but I still can't understand why this doesn't work: > > textfont( FL_HELVETICA_BOLD ); > > textsize( 12 ); > > (instead of fl_font(textfont(), textsize()); ) > > fl_font() sets the "

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

2012-02-03 Thread Greg Ercolano
On 02/03/12 15:08, testalucida wrote: > That's my layout by column of Fl_Output widgets in a Fl_Group: > |_| <--- measurement returns w = 0 ==> BAD Hmm, when add a printf() to show the wi/he values from the code Ian posted, it always printed non-zero values, so I g