[fltk.general] STR #2803 - Re: fyi: 64-bit compilation error/warning list

2012-02-01 Thread mark olesen
STR #2803 - thanks ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

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

2012-02-01 Thread testalucida
Hi Greg, 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

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 09:22, Greg Ercolano wrote: > On 02/01/12 08:29, Forough Mehralian wrote: >> I wanted to add labels rows and columns but something that is important >> is that the labels of rows should just scroll by the vertical scroll bar >> and the labels of columns should just scroll by the horizon

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 09:31, Forough Mehralian wrote: > thanks for your help but I don't know what to write in my > callback and how should I understand which scroll bar was moved > and then how should I add my all labels to just e.g. vertical scroll bar? (Please follow up to the group though, not j

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

2012-02-01 Thread Greg Ercolano
On 02/01/12 09:44, testalucida wrote: > Hi Ian, hi Albrecht, > > thanks for your proposals. > 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).

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

2012-02-01 Thread testalucida
Hi Ian, hi Albrecht, thanks for your proposals. 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 w

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 08:29, Forough Mehralian wrote: > I wanted to add labels rows and columns but something that is important > is that the labels of rows should just scroll by the vertical scroll bar > and the labels of columns should just scroll by the horizontal scroll bar > and I dont know how should I

Re: [fltk.general] spreed sheet in fltk

2012-02-01 Thread Greg Ercolano
On 02/01/12 08:29, Forough Mehralian wrote: > I wanted to add labels rows and columns but something that is important > is that the labels of rows should just scroll by the vertical scroll bar > and the labels of columns should just scroll by the horizontal scroll bar > and I dont know how should I

[fltk.general] spreed sheet in fltk

2012-02-01 Thread Forough Mehralian
I have a spreed sheet (include a table of input boxes in the out put) I put a scroll bar for it as it was larger than the screen width I did this by using Fl_Scroll and made the input boxes between Fl_Scroll scroll = new Fl_Scroll(0, 0, 780, 580); scroll->end();  I wanted to add labels rows

[fltk.general] (no subject)

2012-02-01 Thread Forough Mehralian
f.mehral...@yahoo.com ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] fyi: 64-bit compilation error/warning list

2012-02-01 Thread MacArthur, Ian (SELEX GALILEO, UK)
> just an fyi - 64-bit compilation error warning list > > q: where is the link to the dev process such as submitting a patch? http://www.fltk.org/str.php SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & W

Re: [fltk.general] fyi: 64-bit compilation error/warning list

2012-02-01 Thread Duncan Gibson
mark olesen wrote: > q: where is the link to the dev process such as submitting a patch? 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. D. This message and any attachments are intended for the use of the

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

2012-02-01 Thread MacArthur, Ian (SELEX GALILEO, UK)
> protected: > void draw() { > int wi, he; Oops! Check the docs... Three issues: 1)You must explicitly set "wi" and "he" to zero before you call fl_measure(), or they will be interpreted as being width/height limits to wrap to. Since they appear to be stack variables here, w

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

2012-02-01 Thread Albrecht Schlosser
On 01.02.2012 12:54, testalucida wrote: > I'm trying to create several Fl_Output derived controls on demand and put > them by columns into a Fl_Double_Window. The width of each Fl_Output shall go > with its value, e.g. for a value "A" width should be 10 and for a value > "MyTestValue" it should

[fltk.general] Fl_Output doesn't draw properly

2012-02-01 Thread testalucida
Hi all, I'm trying to create several Fl_Output derived controls on demand and put them by columns into a Fl_Double_Window. The width of each Fl_Output shall go with its value, e.g. for a value "A" width should be 10 and for a value "MyTestValue" it should be 110. The measurement of values is do