Subversion Repositories Kolibri OS

Rev

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

Rev 2381 Rev 2423
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
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 2381 $
8
$Revision: 2423 $
Line 9... Line 9...
9
 
9
 
Line 315... Line 315...
315
        add     bx, word [edi+WDATA.box.height]
315
        add     bx, word [edi+WDATA.box.height]
316
;        mov   esi,[edi+24]
316
;        mov   esi,[edi+24]
317
;        shr   esi,1
317
;        shr   esi,1
318
;        and   esi,0x007f7f7f
318
;        and   esi,0x007f7f7f
319
        mov     esi, [ebp+SKIN_DATA.colors.outer]
319
        mov     esi, [ebp+SKIN_DATA.colors.outer]
-
 
320
        or      esi, 1 shl 25 ; 0x02000000 used for draw_rectangle without top line
-
 
321
        ror     ebx, 16
-
 
322
        add     ebx, [_skinh]
-
 
323
        sub     bx, 1
-
 
324
        rol     ebx, 16
320
        call    draw_rectangle
325
        call    draw_rectangle
321
        mov     ecx, 3
326
        mov     ecx, 3
322
      _dw3l:
327
      _dw3l:
323
        add     eax, 1*65536-1
328
        add     eax, 1*65536-1
324
        add     ebx, 1*65536-1
329
        add     ebx, 0*65536-1
325
        test    ax, ax
330
        test    ax, ax
326
        js      no_skin_add_button
331
        js      no_skin_add_button
327
        test    bx, bx
332
        test    bx, bx
328
        js      no_skin_add_button
333
        js      no_skin_add_button
329
        mov     esi, [ebp+SKIN_DATA.colors.frame];[edi+24]
334
        mov     esi, [ebp+SKIN_DATA.colors.frame];[edi+24]
-
 
335
        or      esi, 1 shl 25; 0x02000000 used for draw_rectangle without top line
330
        call    draw_rectangle
336
        call    draw_rectangle
331
        dec     ecx
337
        dec     ecx
332
        jnz     _dw3l
338
        jnz     _dw3l
333
        mov     esi, [ebp+SKIN_DATA.colors.inner]
339
        mov     esi, [ebp+SKIN_DATA.colors.inner]
-
 
340
        or      esi, 1 shl 25; 0x02000000 used for draw_rectangle without top line
334
        add     eax, 1*65536-1
341
        add     eax, 1*65536-1
335
        add     ebx, 1*65536-1
342
        add     ebx, 0*65536-1
336
        test    ax, ax
343
        test    ax, ax
337
        js      no_skin_add_button
344
        js      no_skin_add_button
338
        test    bx, bx
345
        test    bx, bx
339
        js      no_skin_add_button
346
        js      no_skin_add_button
340
        call    draw_rectangle
347
        call    draw_rectangle