22 #ifndef TITANIC_RECT_H 23 #define TITANIC_RECT_H 25 #include "common/rect.h" 30 Q_CENTER = 0, Q_LEFT, Q_RIGHT, Q_TOP, Q_BOTTOM
39 Rect(int16 x1, int16 y1, int16 x2, int16 y2) :
Common::Rect(x1, y1, x2, y2) {}
44 operator Point() {
return Point(
left, top); }
int16 right
Definition: rect.h:146
Definition: display_client.h:58
void clear()
Definition: rect.h:49
void constrain(const Rect &r)
int16 left
Definition: rect.h:145
void combine(const Rect &r)
Point getPoint(Quadrant quadrant)