IMG: clean up in folders, mostly in /DEMOS/ and /DEVELOP/, move examples to /DEVELOP/EXAMPLES/

asciivju: add font type switcher


git-svn-id: svn://kolibrios.org@8365 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-12-11 13:33:32 +00:00
parent 2095b13813
commit de4468272c
13 changed files with 74 additions and 37 deletions

View File

@ -366,7 +366,6 @@ tup.append_table(img_files, {
{"@VOLUME", PROGS .. "/media/volume/volume"}, {"@VOLUME", PROGS .. "/media/volume/volume"},
{"HACONFIG", PROGS .. "/other/ha/HACONFIG"}, {"HACONFIG", PROGS .. "/other/ha/HACONFIG"},
{"APM", PROGS .. "/system/apm/apm"}, {"APM", PROGS .. "/system/apm/apm"},
{"ASCIIVJU", PROGS .. "/develop/asciivju/trunk/asciivju"},
{"CALC", PROGS .. "/other/calc/trunk/calc"}, {"CALC", PROGS .. "/other/calc/trunk/calc"},
{"CALENDAR", PROGS .. "/system/calendar/trunk/calendar"}, {"CALENDAR", PROGS .. "/system/calendar/trunk/calendar"},
{"COLRDIAL", PROGS .. "/system/colrdial/color_dialog"}, {"COLRDIAL", PROGS .. "/system/colrdial/color_dialog"},
@ -422,10 +421,10 @@ tup.append_table(img_files, {
{"DEMOS/TRANTEST", PROGS .. "/demos/trantest/trunk/trantest"}, {"DEMOS/TRANTEST", PROGS .. "/demos/trantest/trunk/trantest"},
{"DEMOS/TUBE", PROGS .. "/demos/tube/trunk/tube"}, {"DEMOS/TUBE", PROGS .. "/demos/tube/trunk/tube"},
{"DEMOS/UNVWATER", PROGS .. "/demos/unvwater/trunk/unvwater"}, {"DEMOS/UNVWATER", PROGS .. "/demos/unvwater/trunk/unvwater"},
{"DEMOS/USE_MB", PROGS .. "/demos/use_mb/use_mb"},
{"DEMOS/WEB", PROGS .. "/demos/web/trunk/web"}, {"DEMOS/WEB", PROGS .. "/demos/web/trunk/web"},
{"DEVELOP/ASCIIVJU", PROGS .. "/develop/asciivju/trunk/asciivju"},
{"DEVELOP/BOARD", PROGS .. "/system/board/trunk/board"}, {"DEVELOP/BOARD", PROGS .. "/system/board/trunk/board"},
{"DEVELOP/cObj", PROGS .. "/develop/cObj/trunk/cObj"}, {"DEVELOP/COBJ", PROGS .. "/develop/cObj/trunk/cObj"},
{"DEVELOP/FASM", PROGS .. "/develop/fasm/1.73/fasm"}, {"DEVELOP/FASM", PROGS .. "/develop/fasm/1.73/fasm"},
{"DEVELOP/H2D2B", PROGS .. "/develop/h2d2b/trunk/h2d2b"}, {"DEVELOP/H2D2B", PROGS .. "/develop/h2d2b/trunk/h2d2b"},
{"DEVELOP/HEED", PROGS .. "/develop/heed/trunk/heed"}, {"DEVELOP/HEED", PROGS .. "/develop/heed/trunk/heed"},
@ -433,8 +432,9 @@ tup.append_table(img_files, {
{"DEVELOP/MTDBG", PROGS .. "/develop/mtdbg/mtdbg"}, {"DEVELOP/MTDBG", PROGS .. "/develop/mtdbg/mtdbg"},
{"DEVELOP/SCANCODE", PROGS .. "/develop/scancode/trunk/scancode"}, {"DEVELOP/SCANCODE", PROGS .. "/develop/scancode/trunk/scancode"},
{"DEVELOP/T_EDIT", PROGS .. "/other/t_edit/t_edit"}, {"DEVELOP/T_EDIT", PROGS .. "/other/t_edit/t_edit"},
{"DEVELOP/test_gets", PROGS .. "/develop/libraries/console_coff/examples/test_gets"}, {"DEVELOP/EXAMPLES/CONGET", PROGS .. "/develop/libraries/console_coff/examples/test_gets"},
{"DEVELOP/THREAD", PROGS .. "/develop/examples/thread/trunk/thread"}, {"DEVELOP/EXAMPLES/THREAD", PROGS .. "/develop/examples/thread/trunk/thread"},
{"DEVELOP/EXAMPLES/USE_MB", PROGS .. "/demos/use_mb/use_mb"},
{"DEVELOP/INFO/ASM.SYN", PROGS .. "/other/t_edit/info/asm.syn"}, {"DEVELOP/INFO/ASM.SYN", PROGS .. "/other/t_edit/info/asm.syn"},
{"DEVELOP/INFO/CPP_CLA.SYN", PROGS .. "/other/t_edit/info/cpp_kol_cla.syn"}, {"DEVELOP/INFO/CPP_CLA.SYN", PROGS .. "/other/t_edit/info/cpp_kol_cla.syn"},
{"DEVELOP/INFO/CPP_DAR.SYN", PROGS .. "/other/t_edit/info/cpp_kol_dar.syn"}, {"DEVELOP/INFO/CPP_DAR.SYN", PROGS .. "/other/t_edit/info/cpp_kol_dar.syn"},
@ -583,7 +583,7 @@ tup.append_table(extra_files, {
if build_type == "rus" then tup.append_table(img_files, { if build_type == "rus" then tup.append_table(img_files, {
{"PERIOD", PROGS .. "/other/period/trunk/period"}, {"PERIOD", PROGS .. "/other/period/trunk/period"},
{"GAMES/KLAVISHA", PROGS .. "/games/klavisha/trunk/klavisha"}, {"GAMES/KLAVISHA", PROGS .. "/games/klavisha/trunk/klavisha"},
{"DEVELOP/TESTCON2", PROGS .. "/develop/libraries/console_coff/examples/testcon2_rus"}, {"DEVELOP/EXAMPLES/TESTCON2", PROGS .. "/develop/libraries/console_coff/examples/testcon2_rus"},
}) else tup.append_table(img_files, { }) else tup.append_table(img_files, {
{"DEVELOP/TESTCON2", PROGS .. "/develop/libraries/console_coff/examples/testcon2_eng"}, {"DEVELOP/TESTCON2", PROGS .. "/develop/libraries/console_coff/examples/testcon2_eng"},
}) end }) end
@ -597,10 +597,10 @@ end -- tup.getconfig('NO_FASM') ~= 'full'
-- Programs that require NASM to compile. -- Programs that require NASM to compile.
if tup.getconfig('NO_NASM') ~= 'full' then if tup.getconfig('NO_NASM') ~= 'full' then
tup.append_table(img_files, { tup.append_table(img_files, {
{"ACLOCK", PROGS .. "/demos/aclock/trunk/aclock"},
{"LOD", PROGS .. "/fs/lod/lod"}, {"LOD", PROGS .. "/fs/lod/lod"},
{"TIMER", PROGS .. "/other/Timer/timer"},
{"TINFO", PROGS .. "/system/tinfo/tinfo"}, {"TINFO", PROGS .. "/system/tinfo/tinfo"},
{"DEMOS/ACLOCK", PROGS .. "/demos/aclock/trunk/aclock"},
{"DEMOS/TIMER", PROGS .. "/other/Timer/timer"},
{"DEVELOP/MSTATE", PROGS .. "/develop/mstate/mstate"}, {"DEVELOP/MSTATE", PROGS .. "/develop/mstate/mstate"},
{"GAMES/C4", PROGS .. "/games/c4/trunk/c4"}, {"GAMES/C4", PROGS .. "/games/c4/trunk/c4"},
{"MEDIA/FILLSCR", PROGS .. "/media/FillScr/fillscr"}, {"MEDIA/FILLSCR", PROGS .. "/media/FillScr/fillscr"},

View File

@ -52,6 +52,7 @@ Assemblador Flat /sys/develop/fasm
Panell de depuració /sys/develop/board Panell de depuració /sys/develop/board
Depurador /sys/develop/mtdbg Depurador /sys/develop/mtdbg
Hex2Dec2Bin /sys/develop/h2d2b Hex2Dec2Bin /sys/develop/h2d2b
Taula de carŕcters /sys/develop/ASCIIVju
Codis ASCII /sys/develop/keyascii Codis ASCII /sys/develop/keyascii
Codis SCAN /sys/develop/scancode Codis SCAN /sys/develop/scancode
#6 **** EXEMPLES **** #6 **** EXEMPLES ****
@ -114,9 +115,9 @@ Resoluci
Client de baixades /sys/network/downloader Client de baixades /sys/network/downloader
Navegador (mode text) /sys/network/webview Navegador (mode text) /sys/network/webview
#15 **** ALTRES **** #15 **** ALTRES ****
Rellotge analògic /sys/demos/aclock Rellotge analňgic /sys/aclock
Rellotge binari /sys/demos/bcdclk Rellotge binari /sys/demos/bcdclk
Contador /sys/demos/timer Contador /sys/timer
Capturador de pantalla /sys/scrshoot Capturador de pantalla /sys/scrshoot
Calendari /sys/calendar Calendari /sys/calendar
Lector de RTF /sys/rtfread Lector de RTF /sys/rtfread
@ -124,7 +125,6 @@ Lector de RTF /sys/rtfread
#17 **** ACCESIBILITAT **** #17 **** ACCESIBILITAT ****
Ampliació de pantalla /sys/magnify Ampliació de pantalla /sys/magnify
Teclat en pantalla /sys/zkey Teclat en pantalla /sys/zkey
Taula de caràcters /sys/ASCIIVju
#18 **** EMULADORS **** #18 **** EMULADORS ****
DOSBox DOS Emulador /KolibriOS/emul/DosBox/dosbox DOSBox DOS Emulador /KolibriOS/emul/DosBox/dosbox
e80 (ZX Spectrum) /KolibriOS/emul/e80/e80 e80 (ZX Spectrum) /KolibriOS/emul/e80/e80

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -52,7 +52,7 @@ Diff Tool /sys/develop/diff
Debug Board /sys/develop/board Debug Board /sys/develop/board
Debugger /sys/develop/mtdbg Debugger /sys/develop/mtdbg
Base Converter /sys/develop/h2d2b Base Converter /sys/develop/h2d2b
Character table /sys/ASCIIVju Character table /sys/develop/ASCIIVju
Key ASCII-codes /sys/develop/keyascii Key ASCII-codes /sys/develop/keyascii
Key SCAN-codes /sys/develop/scancode Key SCAN-codes /sys/develop/scancode
#6 **** EMULATORS **** #6 **** EMULATORS ****
@ -111,9 +111,9 @@ Text-based browser /sys/network/webview
FTP /sys/network/ftpd FTP /sys/network/ftpd
#14 **** OTHER **** #14 **** OTHER ****
Emulators* > /@6 Emulators* > /@6
Analog clock /sys/demos/aclock Analog clock /sys/aclock
Binary clock /sys/demos/bcdclk Binary clock /sys/demos/bcdclk
Timer /sys/demos/timer Timer /sys/timer
Screenshooter /sys/scrshoot Screenshooter /sys/scrshoot
RTF reader /sys/rtfread RTF reader /sys/rtfread
## ##

View File

@ -53,6 +53,7 @@ Diff Tool /sys/develop/diff
Silumisaken /sys/develop/board Silumisaken /sys/develop/board
Silur /sys/develop/mtdbg Silur /sys/develop/mtdbg
Hex2Dec2Bin /sys/develop/h2d2b Hex2Dec2Bin /sys/develop/h2d2b
Märgistiku tabel /sys/develop/ASCIIVju
ASCII-koodid /sys/develop/keyascii ASCII-koodid /sys/develop/keyascii
SCAN-koodid /sys/develop/scancode SCAN-koodid /sys/develop/scancode
#6 **** EXAMPLES **** #6 **** EXAMPLES ****
@ -115,9 +116,9 @@ VNC Viewer /sys/network/vncc
Interneti allalaadija /sys/network/downloader Interneti allalaadija /sys/network/downloader
Tekstipõhine brauser /sys/network/webview Tekstipõhine brauser /sys/network/webview
#15 **** OTHER **** #15 **** OTHER ****
Analoogkell /sys/demos/aclock Analoogkell /sys/aclock
Digitaalne kell /sys/demos/bcdclk Digitaalne kell /sys/demos/bcdclk
Taimer /sys/demos/timer Taimer /sys/timer
Ekraani tõmmis /sys/scrshoot Ekraani tõmmis /sys/scrshoot
Kalender /sys/calendar Kalender /sys/calendar
RTF faili lugeja /sys/rtfread RTF faili lugeja /sys/rtfread
@ -129,7 +130,6 @@ FSPEED speed of FS /sys/fspeed
#17 **** SYSTEM SPECIAL **** #17 **** SYSTEM SPECIAL ****
Ekraani suurendusklaas /sys/magnify Ekraani suurendusklaas /sys/magnify
Ekraani klaviatuur /sys/zkey Ekraani klaviatuur /sys/zkey
Märgistiku tabel /sys/ASCIIVju
#18 **** EMULATORS **** #18 **** EMULATORS ****
DOSBox DOS Emulator /kolibrios/emul/DosBox/dosbox DOSBox DOS Emulator /kolibrios/emul/DosBox/dosbox
e80 (ZX Spectrum) /kolibrios/emul/e80/e80 e80 (ZX Spectrum) /kolibrios/emul/e80/e80

View File

@ -52,7 +52,7 @@ Diff Tool /sys/develop/diff
Debug Board /sys/develop/board Debug Board /sys/develop/board
Debugger /sys/develop/mtdbg Debugger /sys/develop/mtdbg
Hex2Dec2Bin /sys/develop/h2d2b Hex2Dec2Bin /sys/develop/h2d2b
Tavola caratteri /sys/ASCIIVju Tavola caratteri /sys/develop/ASCIIVju
Codici ASCII /sys/develop/keyascii Codici ASCII /sys/develop/keyascii
SCAN-codes /sys/develop/scancode SCAN-codes /sys/develop/scancode
#6 **** EXAMPLES **** #6 **** EXAMPLES ****
@ -117,9 +117,9 @@ DNS lookup /sys/network/nslookup
Internet downloader /sys/network/downloader Internet downloader /sys/network/downloader
Text-based browser /sys/network/webview Text-based browser /sys/network/webview
#15 **** OTHER **** #15 **** OTHER ****
Orologio analogico /sys/demos/aclock Orologio analogico /sys/aclock
Orologio binario /sys/demos/bcdclk Orologio binario /sys/demos/bcdclk
Timer /sys/demos/timer Timer /sys/timer
ScreenShoter /sys/scrshoot ScreenShoter /sys/scrshoot
Calendario /sys/calendar Calendario /sys/calendar
Lettore RTF /sys/rtfread Lettore RTF /sys/rtfread

View File

@ -54,14 +54,13 @@ HEX-।
Diff tool /sys/develop/diff Diff tool /sys/develop/diff
Žâ« ¤ç¨ª /sys/develop/mtdbg Žâ« ¤ç¨ª /sys/develop/mtdbg
Hex2Dec2Bin /sys/develop/h2d2b Hex2Dec2Bin /sys/develop/h2d2b
’ ¡«¨æ  ᨬ¢®«®¢ /sys/ASCIIVju ’ ¡«¨æ  ᨬ¢®«®¢ /sys/develop/ASCIIVju
ASCII-ª®¤ë /sys/develop/keyascii ASCII-ª®¤ë /sys/develop/keyascii
SCAN-ª®¤ë /sys/develop/scancode SCAN-ª®¤ë /sys/develop/scancode
#6 **** <20>¬ã«ïâ®àë **** #6 **** <20>¬ã«ïâ®àë ****
DOSBox DOS Emulator /kolibrios/emul/DosBox/dosbox DOSBox DOS Emulator /kolibrios/emul/DosBox/dosbox
e80 (ZX Spectrum) /kolibrios/emul/e80/e80 e80 (ZX Spectrum) /kolibrios/emul/e80/e80
FCE Ultra - NES /kolibrios/emul/fceu/fceu FCE Ultra - NES /kolibrios/emul/fceu/fceu
PokeMini /kolibrios/emul/pokemini
ScummVM /kolibrios/emul/scummvm ScummVM /kolibrios/emul/scummvm
ZSNES Super Nintendo /kolibrios/emul/zsnes ZSNES Super Nintendo /kolibrios/emul/zsnes
#7 **** ‘¨á⥬  **** #7 **** ‘¨á⥬  ****
@ -109,10 +108,10 @@ VNC
#14 **** <20> §­®¥ **** #14 **** <20> §­®¥ ****
<EFBFBD>¬ã«ïâ®àë > /@6 <EFBFBD>¬ã«ïâ®àë > /@6
‘®§¤ ­¨¥ áªà¨­è®â®¢ /sys/scrshoot ‘®§¤ ­¨¥ áªà¨­è®â®¢ /sys/scrshoot
€­ «®£®¢ë¥ ç áë /sys/demos/aclock €­ «®£®¢ë¥ ç áë /sys/aclock
’ ¡«¨æ  Œ¥­¤¥«¥¥¢  /sys/period ’ ¡«¨æ  Œ¥­¤¥«¥¥¢  /sys/period
’७ ¦ñà KJ|ABuIIIA /sys/games/klavisha ’७ ¦ñà KJ|ABuIIIA /sys/games/klavisha
<EFBFBD>¨­ à­ë¥ ç áë /sys/demos/bcdclk <EFBFBD>¨­ à­ë¥ ç áë /sys/demos/bcdclk
’ ©¬¥à /sys/demos/timer ’ ©¬¥à /sys/timer
<EFBFBD> § à娢 â®à Unz /sys/unz <EFBFBD> § à娢 â®à Unz /sys/unz
## ##

View File

@ -455,6 +455,8 @@ void TWebBrowser::SetStyle() {
if (!value) value = tag.get_value_of("data-src="); if (!value) value = tag.get_value_of("data-src=");
if (!value) goto NOIMG; if (!value) goto NOIMG;
if (!strcmp(value + strrchr(value, '.'), "svg")) goto NOIMG;
strlcpy(#img_path, value, sizeof(img_path)-1); strlcpy(#img_path, value, sizeof(img_path)-1);
get_absolute_url(#img_path, history.current()); get_absolute_url(#img_path, history.current());

View File

@ -46,6 +46,8 @@ char *unicode_symbols[]={
"#9660", "v", "#9660", "v",
"#65122", "+", "#65122", "+",
"#8594", "->",
"uarr", "\24", "uarr", "\24",
"darr", "\25", "darr", "\25",
"rarr", "\26", "rarr", "\26",

View File

@ -78,6 +78,7 @@ proc_info Form;
dword cur_img_url; dword cur_img_url;
dword shared_url; dword shared_url;
dword http_get_type; dword http_get_type;
dword render_start_time;
int menu_id=NULL; int menu_id=NULL;
char default_dir[] = "/rd/1"; char default_dir[] = "/rd/1";
@ -701,6 +702,7 @@ void LoadInternalPage(dword _bufdata, _in_bufsize){
strcat(#editURL, #anchors.current); strcat(#editURL, #anchors.current);
DrawOmnibox(); DrawOmnibox();
} }
render_start_time = GetStartTime();
WB1.ParseHtml(_bufdata, _in_bufsize); WB1.ParseHtml(_bufdata, _in_bufsize);
// REJECTED. Reason: infinite redirect at Google Results. // REJECTED. Reason: infinite redirect at Google Results.
/* /*
@ -949,6 +951,7 @@ dword GetImg(bool _new)
DrawOmnibox(); DrawOmnibox();
WB1.ParseHtml(WB1.o_bufpointer, WB1.bufsize); WB1.ParseHtml(WB1.o_bufpointer, WB1.bufsize);
WB1.DrawPage(); WB1.DrawPage();
debugln(sprintf(#param, "WebView: page rendered in %i sec", GetStartTime()-render_start_time/100));
} }
stop: stop:

View File

@ -1,7 +1,7 @@
#define MIN_PB_BLOCK_W 19 #define MIN_PB_BLOCK_W 19
#define LOAD_CPU 0x2460C8 #define LOAD_CPU 0x2460C8
#define PROGRESS_ACTIVE 0x489FE4 #define PROGRESS_ACTIVE 0x62B7E4
#define PROGRESS_BG 0xFFFfff #define PROGRESS_BG 0xFFFfff
#define PROGRESS_BG_TEXT 0x696969 #define PROGRESS_BG_TEXT 0x696969

View File

@ -25,14 +25,14 @@
; configuration stuff ; configuration stuff
;******************************************************************** ;********************************************************************
%define APPNAME "AClock 1.1" %define APPNAME "Clock"
%define STACKSIZE 1024 %define STACKSIZE 1024
; default window position/dimensions (work area) ; default window position/dimensions (work area)
%define DEFAULT_XPOS -20 %define DEFAULT_XPOS -20
%define DEFAULT_YPOS 20 %define DEFAULT_YPOS 20
%define DEFAULT_WIDTH 100 %define DEFAULT_WIDTH 110
%define DEFAULT_HEIGHT 100 %define DEFAULT_HEIGHT 110
; minimal size (horizontal and vertical) of work area ; minimal size (horizontal and vertical) of work area
%define MIN_WIDTH 100 %define MIN_WIDTH 100

View File

@ -16,6 +16,9 @@ PANEL_Y = BUTTON_SPACE*8+TABLE_BEGIN_Y+TABLE_BEGIN_Y
FOCUS_SQUARE_COLOR = 0x000080FF FOCUS_SQUARE_COLOR = 0x000080FF
SWITCHER_BLINK_COLOR = 0x00808080 SWITCHER_BLINK_COLOR = 0x00808080
FONT_SMALL = 0x01000000
FONT_BIG = 0x10000000
start: start:
still: still:
@ -33,6 +36,8 @@ button:
je quit je quit
cmp ax, 0xFFAA ; page switcher cmp ax, 0xFFAA ; page switcher
je .switch_page ; any button with a character je .switch_page ; any button with a character
cmp ax, 0xEEBB ; page switcher
je .switch_font
.change_focus: .change_focus:
mov bl, [symbol_focused] mov bl, [symbol_focused]
mov [symbol_unfocused], bl mov [symbol_unfocused], bl
@ -41,6 +46,13 @@ button:
stdcall draw_table, 0 stdcall draw_table, 0
call draw_codes call draw_codes
jmp still jmp still
.switch_font:
cmp [font_type], FONT_SMALL
jne @f
mov [font_type], FONT_BIG
jmp redraw
@@: mov [font_type], FONT_SMALL
jmp redraw
.switch_page: .switch_page:
movzx bx, [symbol_start] movzx bx, [symbol_start]
add bx, BUTTON_ID_SHIFT add bx, BUTTON_ID_SHIFT
@ -77,6 +89,7 @@ redraw:
stdcall draw_table, 1 stdcall draw_table, 1
call draw_codes call draw_codes
stdcall draw_page_switcher, 0 stdcall draw_page_switcher, 0
stdcall draw_font_switcher
@@: @@:
mcall 12, 2 mcall 12, 2
@ -234,7 +247,8 @@ proc draw_button
shl ebx, 16 shl ebx, 16
add ebx, [button_y] add ebx, [button_y]
add ebx, 7 add ebx, 7
mcall 4, , 0x01000000, symbol_current, 1 mov ecx, [font_type]
mcall 4, , , symbol_current, 1
ret ret
endp endp
@ -247,7 +261,7 @@ proc draw_page_switcher _blinking
cmp [_blinking], 1 ; blinking? cmp [_blinking], 1 ; blinking?
jne @f jne @f
mov esi, SWITCHER_BLINK_COLOR mov esi, SWITCHER_BLINK_COLOR
@@: mcall , <2,98>, <PANEL_Y+1,23>, 0x2000FFAA @@: mcall , <2,98>, <PANEL_Y+1,23>, 0x0000FFAA
mov ecx, 0x81000000 mov ecx, 0x81000000
mov edx, string_000_127 mov edx, string_000_127
@ -255,7 +269,20 @@ proc draw_page_switcher _blinking
je @f je @f
mov edx, string_128_255 ; ok, the second one mov edx, string_128_255 ; ok, the second one
@@: mcall 4, <10,PANEL_Y+6>, @@: mcall 4, <10,PANEL_Y+6>,
mcall , <115,PANEL_Y+6>, 0x81000000, string_ASCII_CODE mcall , <278,PANEL_Y+6>, 0x81000000, string_ASCII_CODE
ret
endp
proc draw_font_switcher
mcall 8, <120,136>, <PANEL_Y+1,23>, 0x0000EEBB
mov edx, string_font_small
cmp [font_type], FONT_SMALL
je @f
mov edx, string_font_big
@@: mcall 4, <130,PANEL_Y+6>,,,10
ret ret
endp endp
@ -264,8 +291,8 @@ endp
proc draw_codes proc draw_codes
movzx ecx, [symbol_focused] movzx ecx, [symbol_focused]
mcall 47, 0x00030000, , <250,PANEL_Y+6>, 0x41000000, 0xAAAaaa mcall 47, 0x00030000, , <339,PANEL_Y+6>, 0x41000000, 0xAAAaaa
mcall , 0x00020100, , <500,PANEL_Y+6>, mcall , 0x00020100, , <508,PANEL_Y+6>,
ret ret
endp endp
@ -278,11 +305,15 @@ quit:
szZ window_title ,'ASCIIVju' szZ window_title ,'ASCIIVju'
szZ string_000_127 ,'000-127' szZ string_000_127 ,'000-127'
szZ string_128_255 ,'128-255' szZ string_128_255 ,'128-255'
szZ string_ASCII_CODE ,'ASCII Code: ASCII Hex-Code:' szZ string_font_small ,'Font1 6x9 '
szZ string_font_big ,'Font2 8x14'
szZ string_ASCII_CODE ,'Code: Hex-Code:'
button_x dd 2 button_x dd 2
button_y dd 2 button_y dd 2
font_type dd FONT_SMALL
symbol_current db 0 symbol_current db 0
symbol_start db 0 symbol_start db 0