X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.h;h=2ecbb5cdef846ab2c0b62210c51a303026fdbaf6;hb=c90da6da781932c2d178bfb7e39ec1d5003543b7;hp=1d20ff03360b519870c7afd1e28cab8826f44608;hpb=3c92311b3c88e7da28aabe59d26c10a18c096399;p=chaz%2Fopenbox diff --git a/openbox/menu.h b/openbox/menu.h index 1d20ff03..2ecbb5cd 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -103,7 +103,7 @@ struct _ObMenuEntry char *label; ObMenu *parent; - Action *action; + ObAction *action; ObMenuEntryRenderType render_type; gboolean hilite; @@ -114,9 +114,12 @@ struct _ObMenuEntry /* render stuff */ Window item; + Window submenu_pic; + RrAppearance *a_item; RrAppearance *a_disabled; RrAppearance *a_hilite; + RrAppearance *a_submenu; gint y; gint min_w; } MenuEntry; @@ -152,7 +155,7 @@ void menu_hide(ObMenu *self); void menu_clear(ObMenu *self); -ObMenuEntry *menu_entry_new_full(char *label, Action *action, +ObMenuEntry *menu_entry_new_full(char *label, ObAction *action, ObMenuEntryRenderType render_type, gpointer submenu);