2 GEOS menu and icon functions
4 by Maciej 'YTM/Elysium' Witkowiak
11 #include <geos/gstruct.h>
14 void __fastcall__ DoMenu(struct menu *myMenu);
16 void RecoverMenu(void);
17 void RecoverAllMenus(void);
18 void DoPreviousMenu(void);
19 void GotoFirstMenu(void);
21 void __fastcall__ DoIcons(struct icontab *myIconTab);
23 /* DoMenu - menutypes */
24 #define MENU_ACTION 0x00
25 #define DYN_SUB_MENU 0x40
27 #define HORIZONTAL 0x00
29 /* menu string offsets */
33 #define OFF_MX_RIGHT 4
34 #define OFF_NUM_M_ITEMS 6
35 #define OFF_1ST_M_ITEM 7
36 /* icon string offsets */
38 #define OFF_IC_XMOUSE 1
39 #define OFF_IC_YMOUSE 3
40 #define OFF_PIC_ICON 0
41 #define OFF_X_ICON_POS 2
42 #define OFF_Y_ICON_POS 3
43 #define OFF_WDTH_ICON 4
44 #define OFF_HEIGHT_ICON 5
45 #define OFF_SRV_RT_ICON 6
47 /* icons, menus status flags */
49 #define ST_INVERT 0x40
50 #define ST_LD_AT_ADDR 0x01
51 #define ST_LD_DATA 0x80
52 #define ST_PR_DATA 0x40