1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
#ifndef NUX_CORE_SIZE_INL_H #define NUX_CORE_SIZE_INL_H namespace nux { inline Size::Size() : width(0), height(0) {} inline Size::Size(int w, int h) : width(w), height(h) {} inline bool operator == (const Size& lhs, const Size& rhs) { return (lhs.width == rhs.width) && (lhs.height == rhs.height); } inline bool operator != (const Size& lhs, const Size& rhs) { return !(lhs == rhs); } } #endif |