kolibrios-fun/programs/develop/libGUI/src/move_component.inc
andrew_programmer 03ec9a762d Save of registers after an entrance in function libGUI is added.
git-svn-id: svn://kolibrios.org@706 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-01-31 12:50:35 +00:00

35 lines
639 B
PHP

;****************************************************
;*****************move of GUI component**************
;****************************************************
;IN
;MoveComponent(dword Parend,dword Control,dword newx,dword newy)
;newy
;newx
;Control
;Parend
;OUT
;not
align 4
move_component:
push ebx
push ecx
push edx
push ebp
mov ebx,[esp+16+4] ;Control
mov ecx,[esp+16+8] ;new x
mov edx,[esp+16+12] ;new y
mov [ebx+24],ecx
mov [ebx+28],edx
pop ebp
pop edx
pop ecx
pop ebx
ret 12