diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-30 17:23:17 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-30 17:23:17 +0000 |
| commit | 77edfe45996574c82f66c2156ce6e8037520c8ff (patch) | |
| tree | 805458831d8f2b17e63793b4f84ad20f447a27d7 /src/color.h | |
| parent | Fix make check (diff) | |
| download | inkscape-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.h | 6 |
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; |
