]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.h
use a context enum instead of quarks
[chaz/openbox] / openbox / frame.h
index ec530934aa5f9d28db761e306d70a4c3aba178c3..fb492d8cf59f46da9b9633a3f929b24392cddc53 100644 (file)
@@ -4,6 +4,28 @@
 #include "geom.h"
 #include "client.h"
 
+typedef enum {
+    Context_None,
+    Context_Root,
+    Context_Client,
+    Context_Titlebar,
+    Context_Handle,
+    Context_Frame,
+    Context_BLCorner,
+    Context_BRCorner,
+    Context_TLCorner,
+    Context_TRCorner,
+    Context_Maximize,
+    Context_AllDesktops,
+    Context_Shade,
+    Context_Iconify,
+    Context_Icon,
+    Context_Close,
+    NUM_CONTEXTS
+} Context;
+
+Context frame_context_from_string(char *name);
+
 typedef struct Frame {
     Client *client;
 
This page took 0.022652 seconds and 4 git commands to generate.