2
|
1 |
|
|
2 |
STRUCT ONE_STRING {
|
|
3 |
BUF<256> text;
|
|
4 |
LONG flags;
|
|
5 |
WORD stag;
|
|
6 |
}
|
|
7 |
|
|
8 |
STRUCT SIMPLE_TYPES {
|
|
9 |
BYTE byte;
|
|
10 |
WORD word;
|
|
11 |
LONG long;
|
|
12 |
TEXT text;
|
|
13 |
DOUBLE double;
|
|
14 |
LTEXT ltext;
|
|
15 |
BUF buf;
|
|
16 |
BUF8 buf8;
|
|
17 |
}
|
|
18 |
|
|
19 |
STRUCT SIMPLE_TYPES_DEFAULTS {
|
|
20 |
BYTE byte = 1;
|
|
21 |
WORD word = 1;
|
|
22 |
LONG long = 1;
|
|
23 |
TEXT text = "1";
|
|
24 |
DOUBLE double = 1.0;
|
|
25 |
LTEXT ltext = "1";
|
|
26 |
BUF buf = "1";
|
|
27 |
BUF8 buf8 = "1";
|
|
28 |
}
|
|
29 |
|
|
30 |
STRUCT RECT {
|
|
31 |
LONG x;
|
|
32 |
LONG y;
|
|
33 |
LONG width;
|
|
34 |
LONG height;
|
|
35 |
}
|
|
36 |
|
|
37 |
STRUCT COUNT_STRUCT {
|
|
38 |
LONG count;
|
|
39 |
}
|
|
40 |
|
|
41 |
STRUCT TEXT_STRUCT {
|
|
42 |
LTEXT8<100> text;
|
|
43 |
}
|
|
44 |
|
|
45 |
STRUCT TWO_REFS {
|
|
46 |
LLINK link1;
|
|
47 |
LINK link2;
|
|
48 |
}
|
|
49 |
|
|
50 |
STRUCT LBUF
|
|
51 |
{
|
|
52 |
LTEXT txt;
|
|
53 |
}
|
|
54 |
|
|
55 |
STRUCT RGB
|
|
56 |
{
|
|
57 |
BYTE r;
|
|
58 |
BYTE g;
|
|
59 |
BYTE b;
|
|
60 |
}
|