wxEuphoria - color_selector()

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



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?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu