forked from KolibriOS/kolibrios
Save of registers after an entrance in function libGUI is added.
git-svn-id: svn://kolibrios.org@706 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -14,11 +14,21 @@ align 4
|
||||
|
||||
resize_component:
|
||||
|
||||
mov ebx,[esp+4] ;Control
|
||||
mov ecx,[esp+8] ;new size x
|
||||
mov edx,[esp+12] ;new size y
|
||||
push ebx
|
||||
push ecx
|
||||
push edx
|
||||
push ebp
|
||||
|
||||
mov ebx,[esp+16+4] ;Control
|
||||
mov ecx,[esp+16+8] ;new size x
|
||||
mov edx,[esp+16+12] ;new size y
|
||||
|
||||
mov [ebx+32],ecx
|
||||
mov [ebx+36],edx
|
||||
|
||||
pop ebp
|
||||
pop edx
|
||||
pop ecx
|
||||
pop ebx
|
||||
|
||||
ret 12
|
||||
|
||||
Reference in New Issue
Block a user