]> Dogcows Code - chaz/openbox/blobdiff - openbox/geom.h
make the prompt buttons respond to button presses. keyboard input code is there too...
[chaz/openbox] / openbox / geom.h
index 43eb8ea3ab128b598174cb2e4948af7e6b5e4d21..7c5ee32e31047643cbe0544072f0f419d3874967 100644 (file)
 #ifndef __geom_h
 #define __geom_h
 
+#include <glib.h>
+
+typedef struct _GravityCoord {
+    gint pos;
+    gboolean center;
+    gboolean opposite;
+} GravityCoord;
+
+typedef struct _GravityPoint {
+    GravityCoord x;
+    GravityCoord y;
+} GravityPoint;
+
+#define GRAVITY_COORD_SET(c, p, cen, opp) \
+    (c).pos = (p), (c).center = (cen), (c).opposite = (opp)
+  
+
 typedef struct _Point {
     int x;
     int y;
This page took 0.020241 seconds and 4 git commands to generate.