| 215 | } |
| 216 | |
| 217 | std::string getCEGUIColorFromOgreColourValue(const Ogre::ColourValue& color) |
| 218 | { |
| 219 | std::string colourStr = Helper::intTo2Hex(static_cast<int>(color.a * 255.0f)) |
| 220 | + Helper::intTo2Hex(static_cast<int>(color.r * 255.0f)) |
| 221 | + Helper::intTo2Hex(static_cast<int>(color.g * 255.0f)) |
| 222 | + Helper::intTo2Hex(static_cast<int>(color.b * 255.0f)); |
| 223 | return colourStr; |
| 224 | } |
| 225 | |
| 226 | std::string getImageColoursStringFromColourValue(const Ogre::ColourValue& color) |
| 227 | { |
no test coverage detected