forked from KolibriOS/kolibrios
21d1027a5a
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
25 lines
486 B
PHP
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
|