Subversion Repositories Kolibri OS

Rev

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

Rev 8926 Rev 9709
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: 8926 $
9
$Revision: 9709 $
Line 10... Line 10...
10
 
10
 
11
button.MAX_BUTTONS = 4095
11
button.MAX_BUTTONS = 4095
Line 134... Line 134...
134
.draw:  ; calculate window-relative coordinates
134
.draw:  ; calculate window-relative coordinates
135
        movzx   ebp, cx
135
        movzx   ebp, cx
136
        dec     ebp
136
        dec     ebp
137
        shr     ebx, 16
137
        shr     ebx, 16
138
        shr     ecx, 16
138
        shr     ecx, 16
139
        mov     eax, [TASK_BASE]
139
        mov     eax, [current_slot_idx]
-
 
140
        shl     eax, BSF sizeof.WDATA
140
        add     ebx, [eax - twdw + WDATA.box.left]
141
        add     ebx, [eax + window_data + WDATA.box.left]
141
        add     ecx, [eax - twdw + WDATA.box.top]
142
        add     ecx, [eax + window_data + WDATA.box.top]
142
        mov     eax, ebx
143
        mov     eax, ebx
143
        inc     eax
144
        inc     eax
144
        mov     edx, ebx
145
        mov     edx, ebx
145
        add     dx, [esp+8]
146
        add     dx, [esp+8]
146
        dec     edx
147
        dec     edx