Subversion Repositories Kolibri OS

Rev

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

Rev 7879 Rev 8496
Line 464... Line 464...
464
        push    ROTATE_90_CCW
464
        push    ROTATE_90_CCW
465
.rotate_common:
465
.rotate_common:
466
        mov     eax, [cur_image]
466
        mov     eax, [cur_image]
467
        cmp     eax, [orig_image]
467
        cmp     eax, [orig_image]
468
        jz      @f
468
        jz      @f
469
        invoke  img.destroy, [cur_image]
469
        push    dword[esp]
470
        mov     [cur_image], 0
470
        invoke  img.rotate, [cur_image]
471
@@:
471
@@:
472
        invoke  img.rotate, [orig_image]
472
        invoke  img.rotate, [orig_image]
-
 
473
        mov    [bNewImage], 1
473
        jmp     redraw_all
474
        jmp     redraw_all
Line 474... Line 475...
474
 
475
 
475
        ; rotate right
476
        ; rotate right
476
.not_rtl:
477
.not_rtl:
Line 1674... Line 1675...
1674
proc scale_none_calc
1675
proc scale_none_calc
1675
        push    ebx
1676
        push    ebx
Line 1676... Line 1677...
1676
 
1677
 
Line -... Line 1678...
-
 
1678
        mov     [scale_mode], LIBIMG_SCALE_NONE
-
 
1679
 
-
 
1680
        mov     eax, [cur_image]
-
 
1681
        cmp     eax, [orig_image]
-
 
1682
        jz      @f
1677
        mov     [scale_mode], LIBIMG_SCALE_NONE
1683
        invoke  img.destroy, eax
1678
 
1684
@@:
1679
        mov     eax, [orig_image]
1685
        mov     eax, [orig_image]
1680
        mov     [cur_image], eax
1686
        mov     [cur_image], eax