Subversion Repositories Kolibri OS

Rev

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

Rev 5580 Rev 6009
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: 5580 $
9
$Revision: 6009 $
10
 
10
 
11
;==============================================================================
11
;==============================================================================
Line 166... Line 166...
166
        shl     ebx, 16
166
        shl     ebx, 16
167
        mov     bx, cx
167
        mov     bx, cx
168
        push    ebx
168
        push    ebx
169
        xor     edi, edi
169
        xor     edi, edi
170
        mov     ecx, esi
170
        mov     ecx, esi
171
        call    button._.incecx
171
        ; call    button._.incecx
172
;        call    [draw_line]
172
;        call    [draw_line]
173
        call    __sys_draw_line
173
        call    __sys_draw_line
Line -... Line 174...
-
 
174
 
-
 
175
        ; light line under top border
-
 
176
        add     ebx, 0x00010001 
-
 
177
        mov     ecx, esi
-
 
178
        call    button._.incecx
-
 
179
        call    __sys_draw_line
174
 
180
        sub     ebx, 0x00010001
175
        ; bottom border
181
        ; bottom border
176
        movzx   edx, word[esp + 4 + 0]
182
        movzx   edx, word[esp + 4 + 0]
177
        add     ebx, edx
183
        add     ebx, edx
178
        shl     edx, 16
184
        shl     edx, 16
Line 192... Line 198...
192
        shr     edx, 16
198
        shr     edx, 16
193
        mov     bx, dx
199
        mov     bx, dx
194
        add     bx, [esp + 4 + 0]
200
        add     bx, [esp + 4 + 0]
195
        pop     edx
201
        pop     edx
196
        mov     ecx, esi
202
        mov     ecx, esi
197
        call    button._.incecx
203
        call    button._.dececx ; button._.incecx
198
;        call    [draw_line]
204
;        call    [draw_line]
199
        dec     ebx
205
        dec     ebx
200
        call    __sys_draw_line
206
        call    __sys_draw_line
Line 201... Line 207...
201
 
207