Subversion Repositories Kolibri OS

Rev

Rev 799 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 799 Rev 801
Line 387... Line 387...
387
           pop ebx
387
           pop ebx
388
           ret
388
           ret
389
endp
389
endp
Line 390... Line 390...
390
 
390
 
391
align 4
391
align 4
392
_make_button@24:
-
 
393
;arg1 - x
-
 
394
;arg2 - y
392
proc _make_button@24 stdcall,x:dword, y:dword, \
395
;arg3 - xsize
-
 
396
;arg4 - ysize
-
 
397
;arg5 - id
393
                     xsize:dword, ysize:dword, \
Line 398... Line 394...
398
;arg6 - color
394
                     id:dword, color:dword   
399
 
-
 
400
  push  ebx
395
 
-
 
396
           push  ebx
401
  push  ecx
397
           push  esi
-
 
398
           
402
  push  esi
399
           mov   ebx,[x]
403
  mov   ebx,[esp+12]
-
 
404
  shl   ebx,16
-
 
405
  mov   bx,[esp+20]
400
           mov   ecx,[y]
-
 
401
           shl   ebx,16
406
  mov   ecx,[esp+16]
402
           shl   ecx,16
-
 
403
           mov   bx, word [xsize]
407
  shl   ecx,16
404
           mov   cx, word [ysize]
408
  mov   cx,[esp+24]
405
 
-
 
406
           mov   edx,[id]
409
  mov   edx,[esp+28]
407
           mov   esi,[color]
410
  mov   esi,[esp+32]
408
 
-
 
409
           mov   eax,8
411
  mov   eax,8
410
           int   0x40
412
  int   0x40
411
           pop   esi
-
 
412
           pop   ebx
Line 413... Line 413...
413
  pop   esi ecx ebx
413
           ret
414
  ret   24
414
endp           
415
 
415
 
416
align 4
416
align 4