Re: [fltk.general] Fl_Scroll issue?

2012-05-28 Thread Greg Ercolano
On 05/28/12 10:19, testalucida wrote: > thank you and have a nice day. > >> b) use the new fltk matrix stuff (fl_pushmatrix(), >> fl_translate()..) >> to move the drawing origin around I should add to (b), I don't think the new matrix manipulation functions a

Re: [fltk.general] Fl_Scroll issue?

2012-05-28 Thread testalucida
thank you and have a nice day. > > and is there a way to prevent FLTK from doing so? > > No, that is how it operates. > > Drawing and event delivery of widgets all work in absolute > positions to prevent constant x/y conversions for events > and drawing. > > Routes

Re: [fltk.general] Fl_Dobule_Window in Linux

2012-05-28 Thread Greg Ercolano
On 05/28/12 07:45, David Lopez wrote: > Hi, > I wrote a code that uses FLTK 1.3. > The main window is derived from Fl_Double_Window. It works fine in Windows > but in Linux no widget is displayed or just one or two. > All the widgets appear only as flashes while the window is redrawn for > exampl

Re: [fltk.general] Fl_Scroll issue?

2012-05-28 Thread Greg Ercolano
On 05/28/12 07:54, testalucida wrote: >> On 05/28/12 04:44, testalucida wrote: >>> seems as if widgets placed onto a Fl_Scroll don't keep their positions on >>> scrolling. >> >> Yes, when you scroll, it changes the children's >> xy positions in order to move them. > > and is there a way

Re: [fltk.general] Fl_Dobule_Window in Linux

2012-05-28 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I wrote a code that uses FLTK 1.3. > The main window is derived from Fl_Double_Window. It works fine in Windows > but in Linux no widget is displayed or just one or two. > All the widgets appear only as flashes while the window is redrawn for > example when is moved. > If I change Fl_Double_Wind

Re: [fltk.general] Fl_Scroll issue?

2012-05-28 Thread testalucida
> On 05/28/12 04:44, testalucida wrote: > > seems as if widgets placed onto a Fl_Scroll don't keep their positions on > > scrolling. > > Yes, when you scroll, it changes the children's > xy positions in order to move them. > and is there a way to prevent FLTK from doing so? __

Re: [fltk.general] Fl_Scroll issue?

2012-05-28 Thread Greg Ercolano
On 05/28/12 04:44, testalucida wrote: > seems as if widgets placed onto a Fl_Scroll don't keep their positions on > scrolling. Yes, when you scroll, it changes the children's xy positions in order to move them. ___ fltk mailing list flt

[fltk.general] Fl_Dobule_Window in Linux

2012-05-28 Thread David Lopez
Hi, I wrote a code that uses FLTK 1.3. The main window is derived from Fl_Double_Window. It works fine in Windows but in Linux no widget is displayed or just one or two. All the widgets appear only as flashes while the window is redrawn for example when is moved. If I change Fl_Double_Window to F

[fltk.general] Fl_Scroll issue?

2012-05-28 Thread testalucida
Hi, seems as if widgets placed onto a Fl_Scroll don't keep their positions on scrolling. E.g.: the topmost widget's y-position is 30. There is a vertical scrollbar due to another widget with y-position 300. Pull the vertical scrollbar down and move it back to its top position. The y-value of th