33 #include "CEGUIBase.h"
47 Size(
float width,
float height) : d_width(width), d_height(height) {}
48 Size(
const Size& v): d_width(v.d_width), d_height(v.d_height) {}
53 float d_width, d_height;
55 Size operator*(
float c)
const
57 return Size(d_width * c, d_height * c);
62 return Size(d_width + s.d_width, d_height + s.d_height);
69 #endif // end of guard _CEGUISize_h_
bool CEGUIEXPORT operator==(const String &str1, const String &str2)
Return true if String str1 is equal to String str2.
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
String CEGUIEXPORT operator+(const String &str1, const String &str2)
Return String object that is the concatenation of the given inputs.
bool CEGUIEXPORT operator!=(const String &str1, const String &str2)
Return true if String str1 is not equal to String str2.