mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed sf::Color operators not exported
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1215 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
3be521a912
commit
01181af3e0
@ -88,7 +88,7 @@ public :
|
|||||||
/// \return True if colors are equal
|
/// \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)
|
/// Compare two colors (for difference)
|
||||||
@ -99,7 +99,7 @@ bool operator ==(const Color& left, const Color& right);
|
|||||||
/// \return True if colors are different
|
/// \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
|
/// 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
|
/// \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
|
/// 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
|
/// \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
|
} // namespace sf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user