Subversion Repositories Kolibri OS

Rev

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

Rev 1460 Rev 1465
Line 4... Line 4...
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
;;                                                              ;;
7
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 8... Line 8...
8
 
8
 
Line 9... Line 9...
9
$Revision: 1460 $
9
$Revision: 1465 $
10
 
10
 
11
;==============================================================================
11
;==============================================================================
Line 854... Line 854...
854
;------------------------------------------------------------------------------
854
;------------------------------------------------------------------------------
855
waredraw: ;////////////////////////////////////////////////////////////////////
855
waredraw: ;////////////////////////////////////////////////////////////////////
856
;------------------------------------------------------------------------------
856
;------------------------------------------------------------------------------
857
;? Activate window, redrawing if necessary
857
;? Activate window, redrawing if necessary
858
;------------------------------------------------------------------------------
858
;------------------------------------------------------------------------------
859
;        push    -1
859
        push    -1
860
        mov     eax, [TASK_COUNT]
860
        mov     eax, [TASK_COUNT]
861
        lea     eax, [WIN_POS + eax * 2]
861
        lea     eax, [WIN_POS + eax * 2]
862
        cmp     eax, esi
862
        cmp     eax, esi
863
;        pop     eax
863
        pop     eax
864
	or	eax,-1
-
 
865
        je      .exit
864
        je      .exit
Line 866... Line 865...
866
 
865
 
867
        ; is it overlapped by another window now?
866
        ; is it overlapped by another window now?
868
        push    ecx
867
        push    ecx