]> icculus.org git repositories - dana/openbox.git/blob - render/geom.h
provide a function to give the margins for an appearance
[dana/openbox.git] / render / geom.h
1 #ifndef __geom_h
2 #define __geom_h
3
4 typedef struct {
5     int width;
6     int height;
7 } RrSize;
8
9 typedef struct {
10     int x;
11     int y;
12     int width;
13     int height;
14 } RrRect;
15
16 #define RECT_SET(r, nx, ny, w, h) \
17     (r).x = (nx), (r).y = (ny), (r).width = (w), (r).height = (h)
18
19 #endif