MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / getImageColoursStringFromColourValue

Function getImageColoursStringFromColourValue

source/utils/Helper.cpp:226–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 }
225
226 std::string getImageColoursStringFromColourValue(const Ogre::ColourValue& color)
227 {
228 std::string colourStr = Helper::getCEGUIColorFromOgreColourValue(color);
229 std::string imageColours = "tl:" + colourStr + " tr:" + colourStr + " bl:" + colourStr + " br:" + colourStr;
230 return imageColours;
231 }
232
233 std::string toString(float f, unsigned short precision)
234 {

Callers 2

activateMethod · 0.85
updateFlagColorMethod · 0.85

Calls 1

Tested by

no test coverage detected