mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-18 10:41:40 +00:00
b0879ba255
Group and the menu plist parser are currently broken.
23 lines
381 B
R
23 lines
381 B
R
#include "Object.h"
|
|
#include "gui/Point.h"
|
|
#include "gui/Size.h"
|
|
#include "gui/Rect.h"
|
|
|
|
Rect makeRect (integer x, integer y, integer w, integer h)
|
|
{
|
|
//FIXME Rect r = {{x, y}, {w, h}};
|
|
Rect r;
|
|
r.origin = makePoint (x, y);
|
|
r.size = makeSize (w, h);
|
|
return r;
|
|
}
|
|
|
|
Rect makeRectFromOriginSize (Point origin, Size size)
|
|
{
|
|
Rect r;
|
|
|
|
r.origin = origin;
|
|
r.size = size;
|
|
|
|
return r;
|
|
}
|