Rev 5565 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5565 | Rev 5599 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 5565 $ |
8 | $Revision: 5599 $ |
9 | 9 | ||
10 | WINDOW_MOVE_AND_RESIZE_FLAGS = \ |
10 | WINDOW_MOVE_AND_RESIZE_FLAGS = \ |
11 | mouse.WINDOW_RESIZE_N_FLAG + \ |
11 | mouse.WINDOW_RESIZE_N_FLAG + \ |
Line 102... | Line 102... | ||
102 | mov [eax+EVENT.magic], 'EVNT' |
102 | mov [eax+EVENT.magic], 'EVNT' |
103 | mov [eax+EVENT.destroy], destroy_event.internal |
103 | mov [eax+EVENT.destroy], destroy_event.internal |
104 | mov [eax+EVENT.state], ecx |
104 | mov [eax+EVENT.state], ecx |
105 | mov [eax+EVENT.pid], edx |
105 | mov [eax+EVENT.pid], edx |
106 | inc [event_uid] |
106 | inc [event_uid] |
- | 107 | mov edx, [event_uid] |
|
107 | Mov [eax+EVENT.id],edx,[event_uid] |
108 | mov [eax+EVENT.id], edx |
108 | or esi, esi |
109 | or esi, esi |
109 | jz RemoveEventTo |
110 | jz RemoveEventTo |
110 | lea edi, [eax+EVENT.code] |
111 | lea edi, [eax+EVENT.code] |
111 | mov ecx, (sizeof.EVENT -EVENT.code)/4 |
112 | mov ecx, (sizeof.EVENT -EVENT.code)/4 |
112 | cld |
113 | cld |
Line 275... | Line 276... | ||
275 | popad |
276 | popad |
276 | or eax, eax |
277 | or eax, eax |
277 | jnz @f ;RET |
278 | jnz @f ;RET |
278 | mov [esi+APPDATA.wait_test], edx |
279 | mov [esi+APPDATA.wait_test], edx |
279 | mov [esi+APPDATA.wait_timeout], ebx |
280 | mov [esi+APPDATA.wait_timeout], ebx |
- | 281 | mov eax, [timer_ticks] |
|
280 | Mov [esi+APPDATA.wait_begin],eax,[timer_ticks] |
282 | mov [esi+APPDATA.wait_begin], eax |
281 | mov eax, [TASK_BASE] |
283 | mov eax, [TASK_BASE] |
282 | mov [eax+TASKDATA.state], 5 |
284 | mov [eax+TASKDATA.state], 5 |
283 | call change_task |
285 | call change_task |
284 | mov eax, [esi+APPDATA.wait_param] |
286 | mov eax, [esi+APPDATA.wait_param] |
285 | ;-------------------------------------- |
287 | ;-------------------------------------- |