From 116149c61c3d14da579c9e9be14f48f41ebd4f37 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 28 Jul 2014 18:22:09 +0100 Subject: [PATCH] Use label.image's In Menu Mode when available --- amiga/menu.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/amiga/menu.c b/amiga/menu.c index 70028af68..19888f75b 100644 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -63,6 +63,12 @@ #include "desktop/textinput.h" #include "utils/messages.h" +/* This is here temporarily until we get a new SDK */ +#define LABEL_MenuMode (LABEL_Dummy+12) + /* (BOOL) Use highlighting that fits in better visually in a + menu. Defaults to FALSE. */ +/**/ + enum { NSA_GLYPH_SUBMENU, @@ -471,6 +477,7 @@ static struct gui_window_2 *ami_menu_layout(struct gui_window_2 *gwin) } gwin->menuobj[i] = LabelObject, + LABEL_MenuMode, TRUE, LABEL_DrawInfo, dri, LABEL_DisposeImage, TRUE, LABEL_Image, icon,