Subversion Repositories Kolibri OS

Rev

Rev 4735 | Rev 5880 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4735 Rev 4880
Line 483... Line 483...
483
    ret
483
    ret
Line 484... Line 484...
484
 
484
 
Line 485... Line 485...
485
define_window:
485
define_window:
-
 
486
 
-
 
487
    mcall 12,1
-
 
488
	mcall 48, 5     ; GetClientTop, fix for case when @patel in the top
-
 
489
	shr ebx, 16
-
 
490
	mov ecx,ebx
-
 
491
	shl ecx,16
-
 
492
	cmp ecx,0
486
 
493
	jne  panel_top
487
    mcall 12,1
494
	; panel bottom
488
	mcall 48,5 ;get screen size
495
	mcall 48,5 ;get screen size
489
	mov ecx, ebx
496
	mov ecx, ebx
490
	sub ecx, WIN_H
497
	sub ecx, WIN_H
-
 
498
	shl ecx, 16
491
	shl ecx, 16
499
panel_top:
492
	add ecx, WIN_H
500
	add ecx, WIN_H   ; [y start] *65536 + [y size]
493
	mov ebx, eax
501
	mov ebx, eax
494
	sub eax, WIN_W
502
	sub eax, WIN_W
495
	shl ebx, 16
503
	shl ebx, 16