From c68d6919e516c4a33f1f494cbe352252dd69a734 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Tue, 22 Apr 2014 17:32:55 +0000 Subject: [PATCH] Board: consider that @panel could be in the top git-svn-id: svn://kolibrios.org@4876 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/board/trunk/board.asm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/programs/system/board/trunk/board.asm b/programs/system/board/trunk/board.asm index 1cfe850b78..104ef68cdf 100644 --- a/programs/system/board/trunk/board.asm +++ b/programs/system/board/trunk/board.asm @@ -3,7 +3,7 @@ ; ; See f63 ; -; Compile with FASM for Menuet +; Compile with FASM for KolibriOS ; WRITE_LOG equ 1 P_LEN equ 11 @@ -209,14 +209,23 @@ add_char: .ok: pop esi ret + +macro GetClientTop +{ + +} ;------------------------------------------------------------------------------ ; ********************************************* ; ******* WINDOW DEFINITIONS AND DRAW ******** ; ********************************************* draw_window: mcall 12,1 ; 1, start of draw + mcall 48, 5 ; GetClientTop + shr ebx, 16 + mov ecx,ebx + shl ecx,16 + add ecx,MAXSTRINGS*10+45 ; [y start] *65536 + [y size] xor eax,eax ; function 0 : define and draw window - mov ecx,MAXSTRINGS*10+45 ; [y start] *65536 + [y size] ; mov edx,[sc.work] ; color of work area RRGGBB,8->color gl mov edx,0xffffff or edx,0x14000000