diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-10 17:03:05 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-10 17:03:05 +0000 |
| commit | 122d55fbadea0409fbc902a1740e1c8ff3aecd88 (patch) | |
| tree | 26117e28e5424588ea699e098c084fd563c49a15 /openbox/menu.h | |
| parent | 59f318e897a301a40fb46fadbc4b825ccf86c0ba (diff) | |
prefixing and capitalizing the StackLayer -> ObStackingLayer enum.
less includes in headers for less rebuilding on changes
Diffstat (limited to 'openbox/menu.h')
| -rw-r--r-- | openbox/menu.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/openbox/menu.h b/openbox/menu.h index d9cb2a8f..9beb8f2a 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -2,16 +2,19 @@ #define __menu_h #include "action.h" +#include "window.h" #include "render/render.h" #include "geom.h" #include <glib.h> +struct _ObClient; + struct Menu; struct MenuEntry; typedef void(*menu_controller_show)(struct Menu *self, - int x, int y, ObClient *); + int x, int y, struct _ObClient *); typedef void(*menu_controller_update)(struct Menu *self); typedef void(*menu_controller_mouseover)(struct MenuEntry *self, gboolean enter); @@ -45,7 +48,7 @@ typedef struct Menu { /* render stuff */ - ObClient *client; + struct _ObClient *client; Window frame; Window title; RrAppearance *a_title; @@ -104,8 +107,8 @@ Menu *menu_new_full(char *label, char *name, Menu *parent, menu_controller_show show, menu_controller_update update); void menu_free(char *name); -void menu_show(char *name, int x, int y, ObClient *client); -void menu_show_full(Menu *menu, int x, int y, ObClient *client); +void menu_show(char *name, int x, int y, struct _ObClient *client); +void menu_show_full(Menu *menu, int x, int y, struct _ObClient *client); void menu_hide(Menu *self); |
