git.ucc.asn.au
/
tpg
/
acess2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c6c7cdc30ddadb6a1bf50b6f9a336600b484a374
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
include
/
widget_messages.h
1
/*
2
* Acess2 Window Manager v3
3
* - By John Hodge (thePowersGang)
4
*
5
* widget_messages.h
6
* - AxWin2 Widget port
7
*/
8
#ifndef _WIDGET_MESSAGES_H_
9
#define _WIDGET_MESSAGES_H_
10
11
enum
12
{
13
MSG_WIDGET_CREATE = 0x1000,
14
MSG_WIDGET_DELETE,
15
MSG_WIDGET_SETFLAGS,
16
MSG_WIDGET_SETSIZE,
17
MSG_WIDGET_SETTEXT,
18
MSG_WIDGET_SETCOLOUR
19
};
20
21
22
typedef struct
23
{
24
uint32_t Parent;
25
uint32_t NewID;
26
uint32_t Type;
27
uint32_t Flags;
28
char DebugName[];
29
} tWidgetMsg_Create;
30
31
typedef struct
32
{
33
uint32_t WidgetID;
34
} tWidgetMsg_Delete;
35
36
typedef struct
37
{
38
uint32_t WidgetID;
39
uint32_t Value;
40
uint32_t Mask;
41
} tWidgetMsg_SetFlags;
42
43
typedef struct
44
{
45
uint32_t WidgetID;
46
uint32_t Value;
47
} tWidgetMsg_SetSize;
48
49
typedef struct
50
{
51
uint32_t WidgetID;
52
char Text[];
53
} tWidgetMsg_SetText;
54
55
typedef struct
56
{
57
uint32_t WidgetID;
58
uint32_t Index;
59
uint32_t Colour;
60
} tWidgetMsg_SetColour;
61
62
#endif
63
UCC
git Repository :: git.ucc.asn.au