Subversion Repositories Kolibri OS

Rev

Rev 3303 | Rev 3396 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3303 Rev 3390
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. 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: 3303 $
8
$Revision: 3390 $
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 305... Line 305...
305
        mov     edx, get_event_alone ; wait_test
305
        mov     edx, get_event_alone ; wait_test
306
        call    Wait_events          ; timeout ignored
306
        call    Wait_events          ; timeout ignored
307
        jmp     wait_finish
307
        jmp     wait_finish
308
;-----------------------------------------------------------------------------
308
;-----------------------------------------------------------------------------
309
align 4
309
align 4
-
 
310
wait_event_timeout:
-
 
311
;param:
-
 
312
;   eax - event
-
 
313
;   ebx - uid (for Dummy testing)
-
 
314
;   ecx - timeout in timer ticks
-
 
315
;retval:
-
 
316
;   eax - EVENT handle or 0 if timeout
-
 
317
        call    DummyTest
-
 
318
        mov     ebx, ecx
-
 
319
        mov     ecx, eax             ; wait_param
-
 
320
        mov     edx, get_event_alone ; wait_test
-
 
321
        call    Wait_events_ex
-
 
322
        jmp     wait_finish
-
 
323
;-----------------------------------------------------------------------------
-
 
324
align 4
310
get_event_ex:                                      ;; f68:14
325
get_event_ex:                                      ;; f68:14
311
;info:
326
;info:
312
;   Îæèäàíèå ëþáîãî ñîáûòèÿ â î÷åðåäè EventList òåêóùåãî ñëîòà
327
;   Îæèäàíèå ëþáîãî ñîáûòèÿ â î÷åðåäè EventList òåêóùåãî ñëîòà
313
;   Äàííûå ñîáûòèÿ code - êîïèðóþòñÿ â ïàìÿòü ïðèëîæåíèÿ (êîñâåííî ïî edi)
328
;   Äàííûå ñîáûòèÿ code - êîïèðóþòñÿ â ïàìÿòü ïðèëîæåíèÿ (êîñâåííî ïî edi)
314
;   Ïðè àêòèâíîì ôëàãå MANUAL_RESET - áîëüøå íè÷åãî
329
;   Ïðè àêòèâíîì ôëàãå MANUAL_RESET - áîëüøå íè÷åãî