mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 09:42:38 +03:00
Use label.image's In Menu Mode when available
This commit is contained in:
parent
55669387ff
commit
116149c61c
@ -63,6 +63,12 @@
|
|||||||
#include "desktop/textinput.h"
|
#include "desktop/textinput.h"
|
||||||
#include "utils/messages.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 {
|
enum {
|
||||||
NSA_GLYPH_SUBMENU,
|
NSA_GLYPH_SUBMENU,
|
||||||
@ -471,6 +477,7 @@ static struct gui_window_2 *ami_menu_layout(struct gui_window_2 *gwin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gwin->menuobj[i] = LabelObject,
|
gwin->menuobj[i] = LabelObject,
|
||||||
|
LABEL_MenuMode, TRUE,
|
||||||
LABEL_DrawInfo, dri,
|
LABEL_DrawInfo, dri,
|
||||||
LABEL_DisposeImage, TRUE,
|
LABEL_DisposeImage, TRUE,
|
||||||
LABEL_Image, icon,
|
LABEL_Image, icon,
|
||||||
|
Loading…
Reference in New Issue
Block a user