kolibrios-fun/programs/develop/libGUI/src/move_component.inc
andrew_programmer 21d1027a5a Function RemoveComponent is renamed in MoveComponent.
New function is added.
void ActivateTrapForSpecializedMessage (dword *control) - to activate a trap for the specialized messages.

git-svn-id: svn://kolibrios.org@675 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-11-19 17:44:47 +00:00

25 lines
486 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:
mov ebx,[esp+4] ;Control
mov ecx,[esp+8] ;new x
mov edx,[esp+12] ;new y
mov [ebx+24],ecx
mov [ebx+28],edx
ret 12