diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-04-23 18:46:06 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-04-23 18:46:06 +0000 |
| commit | 9abc39c892a58a6cff52000ae3671e50bae8a1a9 (patch) | |
| tree | 98eb7562005f82d332e659db2922e56092eeebf2 /src/color.h | |
| parent | Parse xml:lang, required for SVG (CSS uses lang) (diff) | |
| download | inkscape-9abc39c892a58a6cff52000ae3671e50bae8a1a9.tar.gz inkscape-9abc39c892a58a6cff52000ae3671e50bae8a1a9.zip | |
Clean up of style code, converting structures to C++ classes. Step 1.
(bzr r13298)
Diffstat (limited to 'src/color.h')
| -rw-r--r-- | src/color.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/color.h b/src/color.h index 746ecebbf..604dff0e3 100644 --- a/src/color.h +++ b/src/color.h @@ -46,6 +46,7 @@ struct SPColor { SPColor& operator= (SPColor const& other); bool operator == ( SPColor const& other ) const; + bool operator != ( SPColor const& other ) const { return !(*this == other); }; bool isClose( SPColor const& other, float epsilon ) const; void set( float r, float g, float b ); |
