forked from KolibriOS/kolibrios
netcfg: updated colors and bigger buttons size
git-svn-id: svn://kolibrios.org@8356 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
810085e9ec
commit
0507b9f3b0
@ -341,7 +341,7 @@ load_and_start:
|
|||||||
jmp .next
|
jmp .next
|
||||||
|
|
||||||
|
|
||||||
|
ITEM_H = 15
|
||||||
;------------------------------------------------------------------
|
;------------------------------------------------------------------
|
||||||
;* Print device info to screen
|
;* Print device info to screen
|
||||||
Print_New_Device:
|
Print_New_Device:
|
||||||
@ -355,16 +355,16 @@ Print_New_Device:
|
|||||||
mov cx, dx
|
mov cx, dx
|
||||||
dec cx
|
dec cx
|
||||||
shl ecx, 16
|
shl ecx, 16
|
||||||
add ecx, 9
|
add ecx, ITEM_H
|
||||||
|
|
||||||
xor edx, edx
|
xor edx, edx
|
||||||
mov dh, [V_Bus]
|
mov dh, [V_Bus]
|
||||||
mov dl, [V_Dev]
|
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
|
cmp [selected], dx
|
||||||
jne @f
|
jne @f
|
||||||
mov esi, 0x00c0c000
|
mov esi, 0x00FFCD0B
|
||||||
@@:
|
@@:
|
||||||
|
|
||||||
shl edx, 8
|
shl edx, 8
|
||||||
@ -375,6 +375,7 @@ Print_New_Device:
|
|||||||
|
|
||||||
xor esi, esi ; Color of text
|
xor esi, esi ; Color of text
|
||||||
movzx ecx, [PCI_Vendor] ; number to be written
|
movzx ecx, [PCI_Vendor] ; number to be written
|
||||||
|
add edx, 3
|
||||||
mcall 47, 0x00040100 ; Write Vendor ID
|
mcall 47, 0x00040100 ; Write Vendor ID
|
||||||
|
|
||||||
add edx, (4*6+18) shl 16
|
add edx, (4*6+18) shl 16
|
||||||
@ -507,7 +508,7 @@ include 'drivers.inc'
|
|||||||
DATA
|
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 100 ; window x start
|
||||||
dw 220 ; window height
|
dw 220 ; window height
|
||||||
dw 100 ; window y start
|
dw 100 ; window y start
|
||||||
|
Loading…
Reference in New Issue
Block a user