From bca8082d6d09a16a116c70001469a576b93157ce Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 Apr 2003 17:22:01 +0000 Subject: use a context enum instead of quarks --- openbox/frame.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'openbox/frame.h') diff --git a/openbox/frame.h b/openbox/frame.h index ec530934..fb492d8c 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -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; -- cgit v1.2.3