Re: [fltk.general] Fl_Scroll issue?

2012-05-29 Thread Albrecht Schlosser
On 28.05.2012 13:44, testalucida wrote: 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

Re: [fltk.general] Fl_Scroll issue?

2012-05-29 Thread Matthias Melcher
On 28.05.2012, at 16: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 to

[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

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

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 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 to prevent

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 I

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 affect