Show color hex code in status bar (fix #508)

This commit is contained in:
David Capello 2014-10-23 10:58:46 -03:00
parent 81d725e8c3
commit bac579b774

View File

@ -262,6 +262,11 @@ std::string Color::toHumanReadableString(PixelFormat pixelFormat, HumanReadableS
ASSERT(false);
break;
}
result << " #" << std::hex << std::setfill('0')
<< std::setw(2) << getRed()
<< std::setw(2) << getGreen()
<< std::setw(2) << getBlue();
}
else if (humanReadable == ShortHumanReadableString) {
switch (getType()) {