Subversion Repositories Kolibri OS

Rev

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

Rev 2455 Rev 2458
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: 2455 $
9
$Revision: 2458 $
10
 
10
 
11
;==============================================================================
11
;==============================================================================
Line 906... Line 906...
906
        add     bx, word[edx + WDATA.box.height]
906
        add     bx, word[edx + WDATA.box.height]
Line 907... Line 907...
907
 
907
 
908
        mov     esi, [edx + WDATA.cl_frames]
908
        mov     esi, [edx + WDATA.cl_frames]
909
        shr     esi, 1
909
        shr     esi, 1
910
        and     esi, 0x007f7f7f
-
 
911
        or      esi, 1 shl 25; 0x02000000 used for draw_rectangle without top line
-
 
912
        ror     ebx, 16
-
 
913
        add     ebx, [_skinh]
-
 
914
        sub     bx, 1
-
 
915
        rol     ebx, 16
910
        and     esi, 0x007f7f7f
Line 916... Line 911...
916
        call    draw_rectangle
911
        call    draw_rectangle
917
 
912
 
918
        push    esi
913
        push    esi
919
        mov     ecx, 3
-
 
920
        mov     esi, [edx + WDATA.cl_frames]
914
        mov     ecx, 3
921
        or      esi, 1 shl 25; 0x02000000 used for draw_rectangle without top line
915
        mov     esi, [edx + WDATA.cl_frames]
922
;--------------------------------------
916
;--------------------------------------
923
align 4
917
align 4
924
.next_frame:
918
.next_frame:
925
        add     eax, 1 * 65536 - 1
919
        add     eax, 1 * 65536 - 1
926
        add     ebx, 0 * 65536 - 1
920
        add     ebx, 1 * 65536 - 1
927
        call    draw_rectangle
921
        call    draw_rectangle
Line 928... Line 922...
928
        dec     ecx
922
        dec     ecx
929
        jnz     .next_frame
923
        jnz     .next_frame
930
 
924
 
931
        pop     esi
925
        pop     esi
Line 932... Line 926...
932
        add     eax, 1 * 65536 - 1
926
        add     eax, 1 * 65536 - 1
Line 933... Line 927...
933
        add     ebx, 0 * 65536 - 1
927
        add     ebx, 1 * 65536 - 1