From 77068a478d3fde2a371b1d2a4f45771524fda0f0 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 16 Sep 2011 14:26:53 +0000 Subject: [PATCH] scancode: appearance fixes git-svn-id: svn://kolibrios.org@2198 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/scancode/trunk/scancode.asm | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/programs/develop/scancode/trunk/scancode.asm b/programs/develop/scancode/trunk/scancode.asm index 0b53c47479..babb042711 100644 --- a/programs/develop/scancode/trunk/scancode.asm +++ b/programs/develop/scancode/trunk/scancode.asm @@ -155,14 +155,12 @@ still: draw_window: - mov eax,12 ; function 12:tell os about windowdraw - mov ebx,1 ; 1, start of draw - mcall + mcall 12, 1 ; start window redraw ; DRAW WINDOW mov eax, 0 ; function 0 : define and draw window 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 or edx, 0x34000000 mov edi, title ; WINDOW LABEL @@ -177,9 +175,7 @@ draw_window: call draw_codes - mov eax,12 ; function 12:tell os about windowdraw - mov ebx,2 ; 2, end of draw - mcall + mcall 12, 2 ; end window redraw ret @@ -293,13 +289,13 @@ if lang eq ru db '‘—ˆ’›‚€ž „€›… ‘ Š‹€‚ˆ€’“›' .len = $ - text - title db '‘Š€ŠŽ„› Š‹€‚ˆ€’“›',0 + title db '‘Š ­ŠŪĪë ŠŦ ĒĻ âãāë',0 else text: db 'READING RAW SCANCODE DATA' .len = $ - text - title db 'KEYBOARD SCANCODES',0 + title db 'Keyboard scancodes',0 end if ext db 0x0