summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-08 13:22:45 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-08 13:22:45 +0000
commit880c6f67ca3637c54c97c51081e0649743292af3 (patch)
tree872e4b351514bd4f34bcc569f63b0017d1afa779 /src/types.h
parentbadcfc45f972fef9e2ebb895965bfd4b971dd4a3 (diff)
Add Colour::to_rgb_string.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index dd2e10a6..e8761c81 100644
--- a/src/types.h
+++ b/src/types.h
@@ -246,6 +246,7 @@ public:
int g; ///< green component, from 0 to 255
int b; ///< blue component, from 0 to 255
+ std::string to_rgb_string () const;
std::string to_argb_string () const;
};