CommonDialogs color picker bug?
Posted: Wed May 30, 2012 21:25
Hello all.
Although I'm not going to use CommonDialogs, I've built it along with its demo app, so I checked it out, and it appears to be somewhat broken. It finds the correct color when the RGB codes are manually entered, but the palette is completely wrong. Here is a picture of the color red (RGB 255, 0, 0) selected, note the position of the marker in the palette:
My version of CEGUI is a Mercurial snapshot, I have two builds, one with MinGW, and one with MSVS2010 Express, this happens with both versions. The rendering engine is Ogre, the default XML parser is RapidXML.
Here is the compulsory part of the log file (this is from the MSVS version, the MinGW version is exactly the same apart from the compiler name, of course):
Although I'm not going to use CommonDialogs, I've built it along with its demo app, so I checked it out, and it appears to be somewhat broken. It finds the correct color when the RGB codes are manually entered, but the palette is completely wrong. Here is a picture of the color red (RGB 255, 0, 0) selected, note the position of the marker in the palette:
My version of CEGUI is a Mercurial snapshot, I have two builds, one with MinGW, and one with MSVS2010 Express, this happens with both versions. The rendering engine is Ogre, the default XML parser is RapidXML.
Here is the compulsory part of the log file (this is from the MSVS version, the MinGW version is exactly the same apart from the compiler name, of course):
Code: Select all
30/05/2012 23:11:07 (Std) ********************************************************************************
30/05/2012 23:11:07 (Std) * Important: *
30/05/2012 23:11:07 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
30/05/2012 23:11:07 (Std) * of this log file indicated below. Failure to do this will result in no *
30/05/2012 23:11:07 (Std) * support being given; please do not waste our time. *
30/05/2012 23:11:07 (Std) ********************************************************************************
30/05/2012 23:11:07 (Std) ********************************************************************************
30/05/2012 23:11:07 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
30/05/2012 23:11:07 (Std) ********************************************************************************
30/05/2012 23:11:07 (Std) ---- Version: 9999.0.0 (Build: May 28 2012 Microsoft Windows MSVC++ 10.0 32 bit) ----
30/05/2012 23:11:07 (Std) ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
30/05/2012 23:11:07 (Std) ---- XML Parser module is: CEGUI::RapidXMLParser - Official RapidXML based parser module for CEGUI ----
30/05/2012 23:11:07 (Std) ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
30/05/2012 23:11:07 (Std) ---- Scripting module is: None ----
30/05/2012 23:11:07 (Std) ********************************************************************************
30/05/2012 23:11:07 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
30/05/2012 23:11:07 (Std) ********************************************************************************