Usermode/AxWin3 - Adding pop-up menu support (via a new window type)
[tpg/acess2.git] / Usermode / Applications / axwin3_src / include / menu_messages.h
1 /*
2  * Acess2 Window Manager v3
3  * - By John Hodge (thePowersGang)
4  *
5  * menu_messages.h
6  * - AxWin3 Menu IPC Messages
7  */
8 #ifndef _MENU_MESSAGES_H_
9 #define _MENU_MESSAGES_H_
10
11 #include "ipcmessages.h"
12
13 enum eMenuMessages
14 {
15         MSG_MENU_ADDITEM = 0x1000,
16         MSG_MENU_SETFLAGS,
17         
18         MSG_MENU_SELECT
19 };
20
21 typedef struct
22 {
23         uint16_t        ID;
24         uint16_t        Flags;
25         uint32_t        SubMenuID;
26         char    Label[];
27 } tMenuMsg_AddItem;
28
29 typedef struct
30 {
31         uint16_t        ID;
32         uint16_t        Value;
33         uint16_t        Mask;
34 } tMenuMsg_SetFlags;
35
36 typedef struct
37 {
38         uint16_t        ID;
39 } tMenuMsg_Select;
40
41 #endif
42

UCC git Repository :: git.ucc.asn.au