Subversion Repositories Kolibri OS

Rev

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

Rev 1465 Rev 1474
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: 1465 $
9
$Revision: 1474 $
10
 
10
 
11
;==============================================================================
11
;==============================================================================
Line 1286... Line 1286...
1286
;> bl = new window state flags
1286
;> bl = new window state flags
1287
;> edi = pointer to WDATA struct
1287
;> edi = pointer to WDATA struct
1288
;------------------------------------------------------------------------------
1288
;------------------------------------------------------------------------------
1289
        push    eax ebx esi
1289
        push    eax ebx esi
Line -... Line 1290...
-
 
1290
 
-
 
1291
; don't do anything if the new box is identical to the old
-
 
1292
	cmp	bl, [edi + WDATA.fl_wstate]
-
 
1293
	jnz	@f
-
 
1294
	mov	esi, eax
-
 
1295
	push	edi
-
 
1296
if WDATA.box
-
 
1297
	add	edi, WDATA.box
-
 
1298
end if
-
 
1299
	mov	ecx, 4
-
 
1300
	repz	cmpsd
-
 
1301
	pop	edi
-
 
1302
	jz	.exit
-
 
1303
@@:
1290
 
1304
 
Line 1291... Line 1305...
1291
        add     esp, -BOX.sizeof
1305
        add     esp, -BOX.sizeof
1292
 
1306
 
1293
        mov     ebx, esp
1307
        mov     ebx, esp