Subversion Repositories Kolibri OS

Rev

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

Rev 2534 Rev 3303
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: 2534 $
8
$Revision: 3303 $
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 465... Line 465...
465
sys_waitforevent:                                  ;; f10
465
sys_waitforevent:                                  ;; f10
466
        or      ebx, -1; infinite timeout
466
        or      ebx, -1; infinite timeout
467
;--------------------------------------
467
;--------------------------------------
468
align 4
468
align 4
469
sys_wait_event_timeout:                            ;; f23
469
sys_wait_event_timeout:                            ;; f23
-
 
470
        call    unprotect_from_terminate
470
        mov     edx, get_event_for_app; wait_test
471
        mov     edx, get_event_for_app; wait_test
471
        call    Wait_events_ex        ; ebx - timeout
472
        call    Wait_events_ex        ; ebx - timeout
472
        mov     [esp+32], eax
473
        mov     [esp+32], eax
-
 
474
        call    protect_from_terminate
473
        ret
475
        ret
474
;-----------------------------------------------------------------------------
476
;-----------------------------------------------------------------------------
475
align 4
477
align 4
476
get_event_for_app:                                 ;; used from f10,f11,f23
478
get_event_for_app:                                 ;; used from f10,f11,f23
477
;info:
479
;info: