mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 05:01:26 +00:00
b0879ba255
Group and the menu plist parser are currently broken.
30 lines
674 B
C
30 lines
674 B
C
#ifndef __ruamoko_gui_Rect_h
|
|
#define __ruamoko_gui_Rect_h
|
|
|
|
#include "gui/Point.h"
|
|
#include "gui/Size.h"
|
|
|
|
struct Rect {
|
|
Point origin;
|
|
Size size;
|
|
};
|
|
typedef struct Rect Rect;
|
|
|
|
@extern Rect makeRect (integer x, integer y, integer w, integer h);
|
|
@extern Rect makeRectFromOriginSize (Point origin, Size size);
|
|
|
|
#if 0
|
|
- (BOOL) intersectsRect: (Rect)aRect;
|
|
- (BOOL) containsPoint: (Point)aPoint;
|
|
- (BOOL) containsRect: (Rect)aRect;
|
|
- (BOOL) isEqualToRect: (Rect)aRect;
|
|
- (BOOL) isEmpty;
|
|
|
|
- (Rect) intersectionWithRect: (Rect)aRect;
|
|
- (Rect) unionWithRect: (Rect)aRect;
|
|
|
|
- (Rect) insetBySize: (Size)aSize;
|
|
- (Rect) offsetBySize: (Size)aSize;
|
|
#endif
|
|
|
|
#endif //__ruamoko_gui_Rect_h
|