Rev 7495 | Rev 7500 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7495 | Rev 7498 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | 11 | ||
Line 12... | Line 12... | ||
12 | #define FO_READ 0 |
12 | #define FO_READ 0 |
13 | #define FO_WRITE 2 |
13 | #define FO_WRITE 2 |
Line -... | Line 14... | ||
- | 14 | ||
14 | 15 | //Process Events |
|
15 | #define EM_WINDOW_REDRAW 1 |
16 | #define EM_WINDOW_REDRAW 1 |
16 | #define EM_KEY_PRESS 2 |
17 | #define EM_KEY_PRESS 2 |
17 | #define EM_BUTTON_CLICK 4 |
18 | #define EM_BUTTON_CLICK 3 |
18 | #define EM_APP_CLOSE 8 |
19 | #define EM_APP_CLOSE 4 |
19 | #define EM_DRAW_BACKGROUND 16 |
20 | #define EM_DRAW_BACKGROUND 5 |
20 | #define EM_MOUSE_EVENT 32 |
21 | #define EM_MOUSE_EVENT 6 |
21 | #define EM_IPC 64 |
22 | #define EM_IPC 7 |
- | 23 | #define EM_NETWORK 8 |
|
- | 24 | #define EM_DEBUG 9 |
|
- | 25 | ||
- | 26 | //Event mask bits for function 40 |
|
- | 27 | #define EVM_REDRAW 1 |
|
- | 28 | #define EVM_KEY 2 |
|
- | 29 | #define EVM_BUTTON 4 |
|
- | 30 | #define EVM_EXIT 8 |
|
- | 31 | #define EVM_BACKGROUND 16 |
|
- | 32 | #define EVM_MOUSE 32 |
|
- | 33 | #define EVM_IPC 64 |
|
- | 34 | #define EVM_STACK 128 |
|
- | 35 | #define EVM_DEBUG 256 |
|
- | 36 | #define EVM_STACK2 512 |
|
- | 37 | #define EVM_MOUSE_FILTER 0x80000000 |
|
- | 38 | #define EVM_CURSOR_FILTER 0x40000000 |
|
- | 39 | ||
- | 40 | //Button options |
|
- | 41 | #define BT_DEL 0x80000000 |
|
- | 42 | #define BT_HIDE 0x40000000 |
|
- | 43 | #define BT_NOFRAME 0x20000000 |
|
Line 22... | Line 44... | ||
22 | #define EM_NETWORK 256 |
44 | #define BT_NODRAW BT_HIDE+BT_NOFRAME |
23 | 45 | ||
Line 24... | Line 46... | ||
24 | #define KM_CHARS 0 |
46 | #define KM_CHARS 0 |
Line 86... | Line 108... | ||
86 | struct |
108 | struct |
87 | { |
109 | { |
88 | Dword cpu_usage; |
110 | Dword cpu_usage; |
89 | Word window_stack_position; |
111 | Word window_stack_position; |
90 | Word window_stack_value; |
112 | Word window_slot; //slot |
91 | Word reserved1; |
113 | Word reserved1; |
92 | char process_name[12]; |
114 | char process_name[12]; |
93 | Dword memory_start; |
115 | Dword memory_start; |
94 | Dword used_memory; |
116 | Dword used_memory; |
95 | Dword PID; |
117 | Dword PID; |
96 | Dword x_start; |
118 | Dword x_start; |
97 | Dword y_start; |
119 | Dword y_start; |
98 | Dword x_size; |
120 | Dword width; |
99 | Dword y_size; |
121 | Dword height; |
100 | Word slot_state; |
122 | Word slot_state; |
101 | } processInfo; |
123 | Word reserved3; |
- | 124 | Dword work_left; |
|
- | 125 | Dword work_top; |
|
- | 126 | Dword work_width; |
|
- | 127 | Dword work_height; |
|
- | 128 | char status_window; |
|
- | 129 | Dword cwidth; |
|
- | 130 | Dword cheight; |
|
- | 131 | } processInfo; |
|
102 | }; |
132 | }; |
103 | #pragma pack(pop) |
133 | #pragma pack(pop) |
104 | 134 | ||
Line 105... | Line 135... | ||
105 | #ifndef AUTOBUILD |
135 | #ifndef AUTOBUILD |