#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);
/* render stuff */
- ObClient *client;
+ struct _ObClient *client;
Window frame;
Window title;
RrAppearance *a_title;
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);