Page 1 of 1

Changing color of image background via code?

Posted: Tue Nov 07, 2017 19:17
by DrenDran
So I am trying to create a color picker interface where you change red, green, and blue sliders and a box somewhere changes to the selected color to let you preview what it looks like. Simple enough. But I can't seem to find a way to do it. Trying to set properties such as "ImageColour", "BackgroundColour", or "FrameColour", on both a framewindow and a staticimage, either do nothing or throw an exception. What's the best way to go about this?

Re: Changing color of image background via code?

Posted: Thu Nov 23, 2017 19:43
by Ident
There is already a colourpicker widget iN CEGUI (for 0.8 it is in the CommonDialogs lib)

Use that? :)

(sorry for late respons, didnt see)