Don't call InvertPixelArray with negative width and/or height.
[tangerine.git] / workbench / libs / muimaster / menu.h
blob1869c2dd9d246e1763beef06a87d8724bdd0f1a6
1 /*
2 Copyright © 2002, The AROS Development Team.
3 All rights reserved.
5 $Id$
6 */
8 #ifndef _MUI_MENU_H
9 #define _MUI_MENU_H
11 struct NewMenu;
12 struct Window;
13 struct ZMenu;
15 struct ZMenu *zune_open_menu(struct Window *wnd, struct NewMenu *newmenu);
16 void zune_mouse_update(struct ZMenu *menu, int left_down);
17 /* returns the user data of the selected entry */
18 struct MenuItem *zune_leave_menu(struct ZMenu *zmenu);
19 void zune_close_menu(struct ZMenu *menu);
20 struct Menu *zune_get_menu_pointer(struct ZMenu *menu);
22 #endif