mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-13 18:42:40 +00:00
Show color hex code in status bar (fix #508)
This commit is contained in:
parent
81d725e8c3
commit
bac579b774
@ -262,6 +262,11 @@ std::string Color::toHumanReadableString(PixelFormat pixelFormat, HumanReadableS
|
|||||||
ASSERT(false);
|
ASSERT(false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
result << " #" << std::hex << std::setfill('0')
|
||||||
|
<< std::setw(2) << getRed()
|
||||||
|
<< std::setw(2) << getGreen()
|
||||||
|
<< std::setw(2) << getBlue();
|
||||||
}
|
}
|
||||||
else if (humanReadable == ShortHumanReadableString) {
|
else if (humanReadable == ShortHumanReadableString) {
|
||||||
switch (getType()) {
|
switch (getType()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user