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 that

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 i

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

2013-03-06 Thread Doug Parks
t on another so that if I change > the slider on the first window it is reflected on the other two windows and > if it changes on any window the impact is shown on the other two. I hope I > didn't make that sound confusing. > On 6 Mar 2013, at 16:36, Greg Ercolano wrote: > &

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

Re: [fltk.general] Comparing Colors in an "if" statement

2012-11-05 Thread Doug Parks
> Is it possible to compare the color of a widget in an "if" statement? If so > how would I go about doing it. I have tried using a standard comparison but > it says it is unable to do it. > > Thanks > Doug I figured it out. Sorry for the inconvenience. __

[fltk.general] Comparing Colors in an "if" statement

2012-11-05 Thread Doug Parks
Is it possible to compare the color of a widget in an "if" statement? If so how would I go about doing it. I have tried using a standard comparison but it says it is unable to do it. Thanks Doug ___ fltk mailing list fltk@easysw.com http://lists.easy

Re: [fltk.general] Custom Button callback not working

2012-10-17 Thread Doug Parks
Thanks for your help again. Eliminating the constructor worked. I was using an example for creating a custom window to create my custom button. It's more of a template than a custom button. Again thank you both for the help. > > On 16 Oct 2012, at 20:36, Doug Parks wrote: > &g

[fltk.general] Custom Button callback not working

2012-10-16 Thread Doug Parks
I decided to make a custom button class so that I could reduce the amount of code in my project. I was able to create the button but when I click on the button, the callback isn't being called. Before I made the custom button class the button worked fine. Below is an excerpt from my code. cl

Re: [fltk.general] Importing a file from somewhere otherthanthe executable folder

2012-09-19 Thread Doug Parks
> > > > > > > Is it possible to open or import a file, an image or text file from > > > > > anywhere other than the folder that the executable is located? > > > > > > > > Yes. Just give the appropriate path. > > > > > > > > What is it you are trying to do? What is happening? > > > > > > > > > > > >

Re: [fltk.general] Importing a file from somewhere otherthanthe executable folder

2012-09-19 Thread Doug Parks
> > > > > Is it possible to open or import a file, an image or text file from > > > > anywhere other than the folder that the executable is located? > > > > > > Yes. Just give the appropriate path. > > > > > > What is it you are trying to do? What is happening? > > > > > > > > > > > I am trying to

Re: [fltk.general] Importing a file from somewhere other thanthe executable folder

2012-09-19 Thread Doug Parks
> > > Is it possible to open or import a file, an image or text file from > > anywhere other than the folder that the executable is located? > > Yes. Just give the appropriate path. > > What is it you are trying to do? What is happening? > > > > I am trying to load an image into a box. I have trie

[fltk.general] Importing a file from somewhere other than the executable folder

2012-09-19 Thread Doug Parks
Is it possible to open or import a file, an image or text file from anywhere other than the folder that the executable is located? Thanks Doug ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk