Changing color of image background via code?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Just popping in
Just popping in
Posts: 2
Joined: Tue Nov 07, 2017 19:14

Changing color of image background via code?

Postby DrenDran » Tue Nov 07, 2017 19:17

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?

User avatar
Posts: 1870
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Changing color of image background via code?

Postby Ident » Thu Nov 23, 2017 19:43

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)
CrazyEddie: "I don't like GUIs"

Return to “Help”

Who is online

Users browsing this forum: No registered users and 2 guests