CPU 0.2.2:

* UTF8Z window caption

git-svn-id: svn://kolibrios.org@8567 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kenshin 2021-02-02 22:14:16 +00:00
parent 8236f21f5b
commit e594f133e1

View File

@ -94,6 +94,7 @@ align 4
;main loop when process name isn"t edited. ;main loop when process name isn"t edited.
red: red:
call draw_window ; redraw all window call draw_window ; redraw all window
mcall 71, 2, strings.window_caption, 3 ;set window caption
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
align 4 align 4
still: still:
@ -495,7 +496,7 @@ draw_window:
; DRAW WINDOW ; DRAW WINDOW
xor eax,eax ; function 0 : define and draw window xor eax,eax ; function 0 : define and draw window
xor esi,esi xor esi,esi
mcall ,[winxpos],[winypos], 0x34FFFFFF,, strings.tmp_window_caption ;0x34ddffdd mcall ,[winxpos],[winypos], 0x24FFFFFF
mcall SF_THREAD_INFO,process_info_buffer,-1 mcall SF_THREAD_INFO,process_info_buffer,-1
@ -910,8 +911,7 @@ sys_reboot:
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
strings: strings:
if lang eq de if lang eq de
.window_caption utf8z "Prozesse v0.2.1 - [Ctrl+Alt+Del]" .window_caption utf8z "Prozesse v0.2.2 - [Ctrl+Alt+Del]"
.tmp_window_caption db "Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
.process_name utf8z "NAME/BEENDEN" .process_name utf8z "NAME/BEENDEN"
.ptid utf8z "PID/TID" .ptid utf8z "PID/TID"
@ -934,8 +934,7 @@ if lang eq de
.GB utf8z " GB" .GB utf8z " GB"
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
else if lang eq et else if lang eq et
.window_caption utf8z "Protsessid v0.2.1 - [Ctrl+Alt+Del]" .window_caption utf8z "Protsessid v0.2.2 - [Ctrl+Alt+Del]"
.tmp_window_caption db "Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
.process_name utf8z "NIMI/LÕPETA" .process_name utf8z "NIMI/LÕPETA"
.ptid utf8z "PID/TID" .ptid utf8z "PID/TID"
@ -958,8 +957,7 @@ else if lang eq et
.GB utf8z " GB" .GB utf8z " GB"
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
else if lang eq ru else if lang eq ru
.window_caption utf8z "Диспетчер процессов v0.2.1 - [Ctrl+Alt+Del]" .window_caption utf8z "Диспетчер процессов v0.2.2 - [Ctrl+Alt+Del]"
.tmp_window_caption db "Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
.process_name utf8z "ИМЯ/ЗАВЕРШИТЬ" .process_name utf8z "ИМЯ/ЗАВЕРШИТЬ"
.ptid utf8z "PID/TID" .ptid utf8z "PID/TID"
@ -982,8 +980,7 @@ else if lang eq ru
.GB utf8z " ГБ" .GB utf8z " ГБ"
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
else if lang eq it else if lang eq it
.window_caption utf8z "Gestore processi v0.2.1 - [Ctrl+Alt+Del]" .window_caption utf8z "Gestore processi v0.2.2 - [Ctrl+Alt+Del]"
.tmp_window_caption db "Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
.process_name utf8z "NOME-PROGRAMMA" .process_name utf8z "NOME-PROGRAMMA"
.ptid utf8z "PID/TID" .ptid utf8z "PID/TID"
@ -1006,8 +1003,7 @@ else if lang eq it
.GB utf8z " GB" .GB utf8z " GB"
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
else else
.window_caption utf8z "Process manager v0.2.1 - [Ctrl+Alt+Del]" .window_caption utf8z "Process manager v0.2.2 - [Ctrl+Alt+Del]"
.tmp_window_caption db "Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
.process_name utf8z "NAME/TERMINATE" .process_name utf8z "NAME/TERMINATE"
.ptid utf8z "PID/TID" .ptid utf8z "PID/TID"