Re: wxEuphoria - color_selector()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jesse Adkins wrote:
> 
> Jerry Story wrote:
> > 
> > Bernie Ryan wrote:
> > > You will probably have to save the three color values in an ini file.
> > > 
> > > Then when your program starts do a  
> > >    skin = create(wxColour,{red,green,blue})
> > 
> > The question boils down to:
> > how to get the 3 colors from color_selector()?
> 
> Instead of trying to get the value from the color selector, why not try 
> grabbing the values of the colors since they're easier to work with?
> 
> Something like printf might work for what you're trying to do.
> 
> printf ( FILE, "%d,%d,%d", {Red,Green,Blue})
> 
> Hope that helps.

How do I get red,green,blue?
I know how to do everything else.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu