From f2523cedaa84806611ea837a8148914953cb5243 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Mon, 28 Dec 2020 08:54:33 +0000 Subject: [PATCH] @menu: bigger font git-svn-id: svn://kolibrios.org@8489 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/menu/trunk/menu.asm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/programs/system/menu/trunk/menu.asm b/programs/system/menu/trunk/menu.asm index 60db6df596..ee3a5797ea 100644 --- a/programs/system/menu/trunk/menu.asm +++ b/programs/system/menu/trunk/menu.asm @@ -18,12 +18,12 @@ ; MAIN MENU by lisovin@26.ru ; Some parts of code rewritten by Ivan Poddubny ; -; Compile with FASM for Menuet +; Compile with FASM for Kolibri ;****************************************************************************** - BTN_HEIGHT = 22 ;26 - BTN_WIDTH = 140 ;178 - TXT_Y = (BTN_HEIGHT)/2-4 - FONT_TYPE = 0x80000000 ;0x90000000 + BTN_HEIGHT = 26 + BTN_WIDTH = 178 + TXT_Y = (BTN_HEIGHT)/2-6 + FONT_TYPE = 0x90000000 PANEL_HEIGHT = 20 MENU_BOTTON_X_POS = 10 @@ -896,7 +896,9 @@ align 4 dec ecx jnz .findline - mcall 4,,[sc.work_text],,21 + mov ecx, [sc.work_text] + add ecx, FONT_TYPE + mcall 4,,,,21 pop edx ret ;------------------------------------------------------------------------------