Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1957 → Rev 1956

/programs/media/zsea/plugins/rotate/rotate.asm
38,8 → 38,6
;---------------------------------------------------------------------
START:
pushad
mov ebx,dword [esp+40]
mov eax,dword [esp+36]
mov [pointer],eax
; ebx - direction
; 1 - clockwise, 2 - counter clockwise
134,7 → 132,7
call .XY_data_exchange
.exit:
popad
ret 8
ret
;---------------------------------------------------------------------
.XY_data_exchange:
mov ecx,[image_file]
/programs/media/zsea/zoom.inc
32,12 → 32,7
mov [horizontal_position_coorect],eax
mov [vertical_position_coorect],ebx
pop ebx
; mov eax,image_file
; ebx - direction
; 1 - clockwise, 2 - counter clockwise
; 3 - Left&Right, 4 - Up&Down
push ebx
push dword image_file
mov eax,image_file
; call [plugin_rotate]
call [rotate_Start]
mov ebx,[raw_pointer]