wxEuphoria - color_selector()
- Posted by Jerry Story <jstory at ocii.com> Sep 24, 2006
- 607 views
atom red,green,blue,skin red = 255 green = 200 blue = 100 skin = create(wxColour,{red,green,blue})
Later I change skin with color_selector(). That works but there seems to be no way to save the color to a file. Saving skin to file does not produce a consistent result. That is, set_back_color(Win, skin) works, but when skin is saved to a file, and then the program is stopped and restarted and it reads skin, set_back_color(Win, skin) doesn't work. Unless there is a bug in the way I'm doing it. Also there seems to be no way to derive red,green,blue from skin. That would be ideal. Then the ini file could be edited. How can a color from color_selector() be saved to a file?