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

2012-02-01 Thread Greg Ercolano
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 If you include a patch, I'm sure it will be considered. Feel free to include comments about the patch, ie. why you chose one technique and not

[fltk.development] how to run fltk based on DFB

2012-02-01 Thread leowang
Dear All, Now the fltk is running on XWindow, can we set the fltk running on DirectFB? If yes, how to configure it? thanks. My fltk version is 2.0 Best regards, Leo ___ fltk-dev mailing list fltk-dev@easysw.com

Re: [fltk.development] controlling scroll

2012-02-01 Thread MacArthur, Ian (SELEX GALILEO, UK)
hi I made a a spreed sheet and I want to make the labels of rows not to move by horizontal scroll bar and labels of columns not to move by vertical one what should I do? The first thing you should do is post over in fltk.general, since it is more suited to questions of this nature. In

[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 done

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 be

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, we

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

[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

[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

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 do

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 do

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

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] 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

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 horizontal

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

[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