From 84a842c6f3ef9fd2e146fa9b8e13412d9ef470f3 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Mon, 30 Oct 2017 03:11:45 +0100 Subject: libui/windows: add support for submenus --- src/libui_sdl/libui/ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libui_sdl/libui/ui.h') diff --git a/src/libui_sdl/libui/ui.h b/src/libui_sdl/libui/ui.h index 6e51d44..31ca5a9 100644 --- a/src/libui_sdl/libui/ui.h +++ b/src/libui_sdl/libui/ui.h @@ -273,6 +273,7 @@ _UI_EXTERN uiMenuItem *uiMenuAppendCheckItem(uiMenu *m, const char *name); _UI_EXTERN uiMenuItem *uiMenuAppendQuitItem(uiMenu *m); _UI_EXTERN uiMenuItem *uiMenuAppendPreferencesItem(uiMenu *m); _UI_EXTERN uiMenuItem *uiMenuAppendAboutItem(uiMenu *m); +_UI_EXTERN uiMenuItem *uiMenuAppendSubmenu(uiMenu *m, const char *name, uiMenu* child); _UI_EXTERN void uiMenuAppendSeparator(uiMenu *m); _UI_EXTERN uiMenu *uiNewMenu(const char *name); -- cgit v1.2.3