From 01181af3e01a08cccb62f8ae9b26f501811db812 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Tue, 8 Sep 2009 10:41:31 +0000 Subject: [PATCH] Fixed sf::Color operators not exported git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1215 4e206d99-4929-0410-ac5d-dfc041789085 --- include/SFML/Graphics/Color.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/SFML/Graphics/Color.hpp b/include/SFML/Graphics/Color.hpp index ba617f345..1ab82a113 100644 --- a/include/SFML/Graphics/Color.hpp +++ b/include/SFML/Graphics/Color.hpp @@ -88,7 +88,7 @@ public : /// \return True if colors are equal /// //////////////////////////////////////////////////////////// -bool operator ==(const Color& left, const Color& right); +SFML_API bool operator ==(const Color& left, const Color& right); //////////////////////////////////////////////////////////// /// Compare two colors (for difference) @@ -99,7 +99,7 @@ bool operator ==(const Color& left, const Color& right); /// \return True if colors are different /// //////////////////////////////////////////////////////////// -bool operator !=(const Color& left, const Color& right); +SFML_API bool operator !=(const Color& left, const Color& right); //////////////////////////////////////////////////////////// /// Operator + overload to add two colors @@ -132,7 +132,7 @@ SFML_API Color operator *(const Color& left, const Color& right); /// \return Component-wise saturated addition of the two colors /// //////////////////////////////////////////////////////////// -Color& operator +=(Color& left, const Color& right); +SFML_API Color& operator +=(Color& left, const Color& right); //////////////////////////////////////////////////////////// /// Operator *= overload to modulate a color @@ -143,7 +143,7 @@ Color& operator +=(Color& left, const Color& right); /// \return Component-wise multiplication of the two colors /// //////////////////////////////////////////////////////////// -Color& operator *=(Color& left, const Color& right); +SFML_API Color& operator *=(Color& left, const Color& right); } // namespace sf