Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-13 Thread Greg Ercolano
On 03/06/13 10:26, Greg Ercolano wrote: On 03/06/13 09:47, Greg Ercolano wrote: I could make an example, but thinking the above might get you in the right direction. I lied. Made one anyway; wanted to see it work. Implemented pretty much exactly as described.. BTW, added

[fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Doug Parks
I am using a Slider Input widget, created from the example on Erco's FLTK Cheat page. I am trying to duplicate the widget on multiple pages such that when I change it on one it is changed on the other page. How would I go about doing this because the attempts I have made to do this have

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Greg Ercolano
On 03/06/13 08:09, Doug Parks wrote: I am using a Slider Input widget, created from the example on Erco's FLTK Cheat page. I am trying to duplicate the widget on multiple pages such that when I change it on one it is changed on the other page. How would I go about doing this because the

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Ian MacArthur
On 6 Mar 2013, at 16:36, Greg Ercolano wrote: On 03/06/13 08:09, Doug Parks wrote: I am using a Slider Input widget, created from the example on Erco's FLTK Cheat page. I am trying to duplicate the widget on multiple pages such that when I change it on one it is changed on the other page.

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Doug Parks
I guess your idea of multiple sliders that are slaved together would be the best example. When I say pages I mean different windows. What I have are three different windows that are able to control the same volume level. I am trying to get the sliders to be able to affect on another so

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Greg Ercolano
On 03/06/13 09:08, Doug Parks wrote: I guess your idea of multiple sliders that are slaved together would be the best example. When I say pages I mean different windows. What I have are three different windows that are able to control the same volume level. I am trying to get the sliders to

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Greg Ercolano
On 03/06/13 09:47, Greg Ercolano wrote: I could make an example, but thinking the above might get you in the right direction. I lied. Made one anyway; wanted to see it work. Implemented pretty much exactly as described..

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Doug Parks
Just so I think I am following what you are saying I copied in my slider and in quotes since I can't bold where I think you are talking about. I think I could have done it wrong but I have no idea. Now when I go to make them on the different windows would I be using the new operator so for

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Doug Parks
After really looking over your code and comparing it to my own, I was able to replicate it using the SliderInput widget you had created. I was able to successfully make the sliders and change the values on the various windows. Thank you for the example you posted it was a great help having