summaryrefslogtreecommitdiffstats
path: root/src/color.h
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-08-30 17:23:17 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-08-30 17:23:17 +0000
commit77edfe45996574c82f66c2156ce6e8037520c8ff (patch)
tree805458831d8f2b17e63793b4f84ad20f447a27d7 /src/color.h
parentFix make check (diff)
downloadinkscape-77edfe45996574c82f66c2156ce6e8037520c8ff.tar.gz
inkscape-77edfe45996574c82f66c2156ce6e8037520c8ff.zip
Minor pass of header cleanup
(bzr r13341.1.189)
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/color.h b/src/color.h
index 604dff0e3..887daf66b 100644
--- a/src/color.h
+++ b/src/color.h
@@ -13,8 +13,8 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include <gdk/gdk.h>
#include <string>
+typedef unsigned int guint32; // uint is guaranteed to hold up to 2^32 − 1
/* Useful composition macros */
@@ -52,8 +52,8 @@ struct SPColor {
void set( float r, float g, float b );
void set( guint32 value );
- guint32 toRGBA32( gint alpha ) const;
- guint32 toRGBA32( gdouble alpha ) const;
+ guint32 toRGBA32( int alpha ) const;
+ guint32 toRGBA32( double alpha ) const;
std::string toString() const;