Subversion Repositories Kolibri OS

Rev

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

Rev 4424 Rev 4572
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: 4424 $
9
$Revision: 4572 $
10
 
10
 
11
;==============================================================================
11
;==============================================================================
Line 815... Line 815...
815
        mov     edi, [esi + WDATA.cl_workarea]
815
        mov     edi, [esi + WDATA.cl_workarea]
816
        test    edi, 0x40000000
816
        test    edi, 0x40000000
817
        jnz     .exit
817
        jnz     .exit
Line 818... Line 818...
818
 
818
 
819
        ; does client area have a positive size on screen?
-
 
820
        mov     edx, [esi + WDATA.box.top]
-
 
821
        add     edx, 21 + 5
-
 
822
        mov     ebx, [esi + WDATA.box.top]
819
        ; does client area have a positive size on screen?
823
        add     ebx, [esi + WDATA.box.height]
-
 
824
        cmp     edx, ebx
820
        cmp     [esi + WDATA.box.height], 21
Line 825... Line 821...
825
        jg      .exit
821
        jle     .exit
826
 
822
 
827
        ; okay, let's draw it
823
        ; okay, let's draw it
828
        mov     eax, 1
824
        mov     eax, 1