Subversion Repositories Kolibri OS

Rev

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

Rev 1474 Rev 1526
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: 1474 $
9
$Revision: 1526 $
10
 
10
 
11
;==============================================================================
11
;==============================================================================
Line 1034... Line 1034...
1034
        mov     edi, esi
1034
        mov     edi, esi
1035
        shl     edi, 5
1035
        shl     edi, 5
1036
        add     edi, window_data
1036
        add     edi, window_data
Line 1037... Line 1037...
1037
 
1037
 
-
 
1038
        ; can window change its height?
1038
        ; can window change its height?
1039
        ; only types 2 and 3 can be resized
1039
        mov     dl, [edi + WDATA.fl_wstyle]
-
 
1040
        and     dl, 0x0f
1040
        mov     dl, [edi + WDATA.fl_wstyle]
1041
        cmp     dl, 0x04
1041
        test    dl, 2
Line 1042... Line 1042...
1042
        je      .exit
1042
        jz      .exit
1043
 
1043
 
1044
        ; toggle normal/maximized window state
1044
        ; toggle normal/maximized window state