Subversion Repositories Kolibri OS

Rev

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

Rev 593 Rev 599
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. 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: 593 $
8
$Revision: 599 $
9
 
9
 
10
 
10
 
Line 1515... Line 1515...
1515
	and   edx, 0x0f000000
1515
	and   edx, 0x0f000000
1516
	cmp   edx, 0x00000000
1516
	cmp   edx, 0x00000000
1517
	je    no_fullscreen_restore
1517
	je    no_fullscreen_restore
1518
	cmp   edx, 0x01000000
1518
	cmp   edx, 0x01000000
1519
	je    no_fullscreen_restore
1519
	je    no_fullscreen_restore
1520
	cmp   edx, 0x04000000
-
 
1521
	je    no_fullscreen_restore
-
 
Line 1522... Line 1520...
1522
 
1520
 
1523
	cmp   [reposition],1
1521
	cmp   [reposition],1
1524
	je    no_window_sizing
1522
	je    no_window_sizing
1525
	mov   edx,edi
1523
	mov   edx,edi
Line 1548... Line 1546...
1548
    @@: mov	[edi+WDATA.box.height],eax
1546
    @@: mov	[edi+WDATA.box.height],eax
1549
	call	set_window_clientbox
1547
	call	set_window_clientbox
Line 1550... Line 1548...
1550
 
1548
 
Line -... Line 1549...
-
 
1549
      no_window_shade:
-
 
1550
 
-
 
1551
	push edx
-
 
1552
	mov   edx, [edi + WDATA.cl_workarea]
-
 
1553
	and   edx, 0x0f000000
-
 
1554
	cmp   edx, 0x04000000
-
 
1555
	pop edx
1551
      no_window_shade:
1556
	je    no_fullscreen_restore
1552
 
1557
 
1553
	cmp   [do_resize],1		  ; fullscreen/restore ?
1558
	cmp   [do_resize],1		  ; fullscreen/restore ?
1554
	jne   no_fullscreen_restore
1559
	jne   no_fullscreen_restore
1555
	cmp   [latest_window_touch_delta],dword 50
1560
	cmp   [latest_window_touch_delta],dword 50