From 31048e6d7325a4ec58528237c480ddb0a1bfc6bf Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Mon, 14 Jun 2021 10:27:00 +0000 Subject: [PATCH] vncc: add a hint git-svn-id: svn://kolibrios.org@8850 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/vncc/gui.inc | 4 +++- programs/network/vncc/vncc.asm | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/programs/network/vncc/gui.inc b/programs/network/vncc/gui.inc index 6edede96ec..dad92adc8e 100644 --- a/programs/network/vncc/gui.inc +++ b/programs/network/vncc/gui.inc @@ -39,6 +39,8 @@ draw_gui: mov edx, serverstr mov esi, userstr-serverstr mcall 4 ; "server" text + + mcall 4, <70, 45>, 0 shl 24 + 0x666666, port_notice, port_notice_e - port_notice invoke edit_box_draw, URLbox ; Server textbox @@ -51,7 +53,7 @@ draw_gui: mov esi, 0xCCCCCC mcall 8 ; Cancel button - mov ebx, 240 shl 16 + 62 + mov ebx, 260 shl 16 + 62 mov ecx, TEXT_ECX mov edx, cancelstr mov esi, okstr-cancelstr diff --git a/programs/network/vncc/vncc.asm b/programs/network/vncc/vncc.asm index 847df5aa7d..16c292a0f1 100644 --- a/programs/network/vncc/vncc.asm +++ b/programs/network/vncc/vncc.asm @@ -552,6 +552,9 @@ import archiver,\ name db "VNC viewer " .dash db 0, " " +port_notice db "Example: 192.168.0.3:5900" +port_notice_e: + I_END: servername rb 64+1