From cef1d796880ed0e403e437fec60cf45dc3b285db Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Tue, 5 Jun 2012 12:50:49 +0000 Subject: [PATCH] calc: better vertical align of digits on buttons, basic skin height handling, window width increased (visual fix) git-svn-id: svn://kolibrios.org@2745 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/calc/trunk/calc.asm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/programs/other/calc/trunk/calc.asm b/programs/other/calc/trunk/calc.asm index 40deec0f1a..8626dea959 100644 --- a/programs/other/calc/trunk/calc.asm +++ b/programs/other/calc/trunk/calc.asm @@ -653,9 +653,13 @@ draw_window: mov edx,sizeof.system_colors mcall + mov eax,48 + mov ebx,4 + int 0x40 + mov ecx, eax xor eax,eax - mov ebx,200 shl 16+255 - mov ecx,200 shl 16+180 + mov ebx,200 shl 16+256 + add ecx,200 shl 16+158 mov edx,[sc.work] or edx,0x34000000 mov edi,title @@ -684,7 +688,7 @@ draw_window: mcall ,220 shl 16+8,7 shl 16+8,3 ; 'dec-bin-hex' mov eax,4 - mov ebx,27 shl 16+54 + mov ebx,27 shl 16+55 mov ecx,[sc.work_button_text] mov edx,text mov esi,33