forked from KolibriOS/kolibrios
scancode: appearance fixes
git-svn-id: svn://kolibrios.org@2198 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
12e996d2c8
commit
77068a478d
@ -155,14 +155,12 @@ still:
|
|||||||
draw_window:
|
draw_window:
|
||||||
|
|
||||||
|
|
||||||
mov eax,12 ; function 12:tell os about windowdraw
|
mcall 12, 1 ; start window redraw
|
||||||
mov ebx,1 ; 1, start of draw
|
|
||||||
mcall
|
|
||||||
|
|
||||||
; DRAW WINDOW
|
; DRAW WINDOW
|
||||||
mov eax, 0 ; function 0 : define and draw window
|
mov eax, 0 ; function 0 : define and draw window
|
||||||
mov ebx, 100*65536+200 ; [x start] *65536 + [x size]
|
mov ebx, 100*65536+200 ; [x start] *65536 + [x size]
|
||||||
mov ecx, 100*65536+275 ; [y start] *65536 + [y size]
|
mov ecx, 100*65536+267 ; [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
|
||||||
or edx, 0x34000000
|
or edx, 0x34000000
|
||||||
mov edi, title ; WINDOW LABEL
|
mov edi, title ; WINDOW LABEL
|
||||||
@ -177,9 +175,7 @@ draw_window:
|
|||||||
|
|
||||||
call draw_codes
|
call draw_codes
|
||||||
|
|
||||||
mov eax,12 ; function 12:tell os about windowdraw
|
mcall 12, 2 ; end window redraw
|
||||||
mov ebx,2 ; 2, end of draw
|
|
||||||
mcall
|
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -293,13 +289,13 @@ if lang eq ru
|
|||||||
db '‘—ˆ’›‚€ž „€<E2809E><E282AC>›… ‘ Š‹€‚ˆ€’“<E28099>›'
|
db '‘—ˆ’›‚€ž „€<E2809E><E282AC>›… ‘ Š‹€‚ˆ€’“<E28099>›'
|
||||||
.len = $ - text
|
.len = $ - text
|
||||||
|
|
||||||
title db '‘Š€<EFBFBD>ŠŽ„› Š‹€‚ˆ€’“<E28099>›',0
|
title db '‘ª ª®¤ë ª« ¢¨ âãàë',0
|
||||||
else
|
else
|
||||||
text:
|
text:
|
||||||
db 'READING RAW SCANCODE DATA'
|
db 'READING RAW SCANCODE DATA'
|
||||||
.len = $ - text
|
.len = $ - text
|
||||||
|
|
||||||
title db 'KEYBOARD SCANCODES',0
|
title db 'Keyboard scancodes',0
|
||||||
end if
|
end if
|
||||||
|
|
||||||
ext db 0x0
|
ext db 0x0
|
||||||
|
Loading…
Reference in New Issue
Block a user