From 0507b9f3b0e4864e501f87c60047e0037ee959e5 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 9 Dec 2020 20:52:40 +0000 Subject: [PATCH] netcfg: updated colors and bigger buttons size git-svn-id: svn://kolibrios.org@8356 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/netcfg/netcfg.asm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/programs/network/netcfg/netcfg.asm b/programs/network/netcfg/netcfg.asm index ce5d3b022e..b94912e205 100644 --- a/programs/network/netcfg/netcfg.asm +++ b/programs/network/netcfg/netcfg.asm @@ -341,7 +341,7 @@ load_and_start: jmp .next - +ITEM_H = 15 ;------------------------------------------------------------------ ;* Print device info to screen Print_New_Device: @@ -355,16 +355,16 @@ Print_New_Device: mov cx, dx dec cx shl ecx, 16 - add ecx, 9 + add ecx, ITEM_H xor edx, edx mov dh, [V_Bus] mov dl, [V_Dev] - mov esi, 0x0000c0ff ; color: yellow if selected, blue otherwise + mov esi, 0x0059DFFF ; color: yellow if selected, blue otherwise cmp [selected], dx jne @f - mov esi, 0x00c0c000 + mov esi, 0x00FFCD0B @@: shl edx, 8 @@ -375,6 +375,7 @@ Print_New_Device: xor esi, esi ; Color of text movzx ecx, [PCI_Vendor] ; number to be written + add edx, 3 mcall 47, 0x00040100 ; Write Vendor ID add edx, (4*6+18) shl 16 @@ -507,7 +508,7 @@ include 'drivers.inc' DATA -Form: dw 800 ; window width (no more, special for 800x600) +Form: dw 740 ; window width (no more, special for 800x600) dw 100 ; window x start dw 220 ; window height dw 100 ; window y start