[aseprite] 30/128: Include RGB decimal values when we pick HSV colors (fix #1013)
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 6661c0a32acf90fae272f2342c75b53dde9ab7dd
Author: David Capello <davidcapello at gmail.com>
Date: Tue Apr 19 15:21:54 2016 -0300
Include RGB decimal values when we pick HSV colors (fix #1013)
---
src/app/color.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/app/color.cpp b/src/app/color.cpp
index 12dd7a3..ac95082 100644
--- a/src/app/color.cpp
+++ b/src/app/color.cpp
@@ -235,6 +235,11 @@ std::string Color::toHumanReadableString(PixelFormat pixelFormat, HumanReadableS
if (pixelFormat == IMAGE_INDEXED)
result << " Index " << color_utils::color_for_image(*this, pixelFormat);
+
+ result << " (RGB "
+ << getRed() << " "
+ << getGreen() << " "
+ << getBlue() << ")";
}
break;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list