forked from KolibriOS/kolibrios
Board: consider that @panel could be in the top
git-svn-id: svn://kolibrios.org@4876 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1922dd81c6
commit
c68d6919e5
@ -3,7 +3,7 @@
|
|||||||
;
|
;
|
||||||
; See f63
|
; See f63
|
||||||
;
|
;
|
||||||
; Compile with FASM for Menuet
|
; Compile with FASM for KolibriOS
|
||||||
;
|
;
|
||||||
WRITE_LOG equ 1
|
WRITE_LOG equ 1
|
||||||
P_LEN equ 11
|
P_LEN equ 11
|
||||||
@ -209,14 +209,23 @@ add_char:
|
|||||||
.ok:
|
.ok:
|
||||||
pop esi
|
pop esi
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
macro GetClientTop
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; *********************************************
|
; *********************************************
|
||||||
; ******* WINDOW DEFINITIONS AND DRAW ********
|
; ******* WINDOW DEFINITIONS AND DRAW ********
|
||||||
; *********************************************
|
; *********************************************
|
||||||
draw_window:
|
draw_window:
|
||||||
mcall 12,1 ; 1, start of draw
|
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
|
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,[sc.work] ; color of work area RRGGBB,8->color gl
|
||||||
mov edx,0xffffff
|
mov edx,0xffffff
|
||||||
or edx,0x14000000
|
or edx,0x14000000
|
||||||
|
Loading…
Reference in New Issue
Block a user