Subversion Repositories Kolibri OS

Rev

Rev 8563 | Rev 8576 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8563 Rev 8567
Line 92... Line 92...
92
;-------------------------------------------------------------------------------
92
;-------------------------------------------------------------------------------
93
align 4
93
align 4
94
;main loop when process name isn"t edited.
94
;main loop when process name isn"t edited.
95
red:
95
red:
96
	call	draw_window		; redraw all window
96
	call	draw_window		; redraw all window
-
 
97
	mcall	71, 2, strings.window_caption, 3	;set window caption
97
;-------------------------------------------------------------------------------
98
;-------------------------------------------------------------------------------
98
align 4
99
align 4
99
still:
100
still:
100
	mcall	SF_WAIT_EVENT_TIMEOUT,100		; wait here for event 1 sec.
101
	mcall	SF_WAIT_EVENT_TIMEOUT,100		; wait here for event 1 sec.
Line 493... Line 494...
493
draw_window:
494
draw_window:
494
	mcall	SF_REDRAW, SSF_BEGIN_DRAW
495
	mcall	SF_REDRAW, SSF_BEGIN_DRAW
495
; DRAW WINDOW
496
; DRAW WINDOW
496
	xor	eax,eax			 ; function 0 : define and draw window
497
	xor	eax,eax			 ; function 0 : define and draw window
497
	xor	esi,esi
498
	xor	esi,esi
498
	mcall	,[winxpos],[winypos], 0x34FFFFFF,, strings.tmp_window_caption	;0x34ddffdd
499
	mcall	,[winxpos],[winypos], 0x24FFFFFF
Line 499... Line 500...
499
 
500
 
Line 500... Line 501...
500
	mcall	SF_THREAD_INFO,process_info_buffer,-1
501
	mcall	SF_THREAD_INFO,process_info_buffer,-1
501
 
502
 
Line 908... Line 909...
908
		dd	0
909
		dd	0
909
		db	"/sys/end",0
910
		db	"/sys/end",0
910
;-------------------------------------------------------------------------------
911
;-------------------------------------------------------------------------------
911
strings:
912
strings:
912
if lang eq de
913
if lang eq de
913
	.window_caption		utf8z	"Prozesse v0.2.1 - [Ctrl+Alt+Del]"
914
	.window_caption		utf8z	"Prozesse v0.2.2 - [Ctrl+Alt+Del]"
914
	.tmp_window_caption	db	"Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
-
 
Line 915... Line 915...
915
	
915
	
916
	.process_name		utf8z	"NAME/BEENDEN"
916
	.process_name		utf8z	"NAME/BEENDEN"
917
	.ptid			utf8z	"PID/TID"
917
	.ptid			utf8z	"PID/TID"
918
	.cpu_usage_cycles	utf8z	"CPU(ZYKLEN)"
918
	.cpu_usage_cycles	utf8z	"CPU(ZYKLEN)"
Line 932... Line 932...
932
	.KB			utf8z	" KB"
932
	.KB			utf8z	" KB"
933
	.MB			utf8z	" MB"
933
	.MB			utf8z	" MB"
934
	.GB			utf8z	" GB"
934
	.GB			utf8z	" GB"
935
;-------------------------------------------------------------------------------
935
;-------------------------------------------------------------------------------
936
else if lang eq et
936
else if lang eq et
937
	.window_caption		utf8z	"Protsessid v0.2.1 - [Ctrl+Alt+Del]"
937
	.window_caption		utf8z	"Protsessid v0.2.2 - [Ctrl+Alt+Del]"
938
	.tmp_window_caption	db	"Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
-
 
Line 939... Line 938...
939
	
938
	
940
	.process_name		utf8z	"NIMI/LÕPETA"
939
	.process_name		utf8z	"NIMI/LÕPETA"
941
	.ptid			utf8z	"PID/TID"
940
	.ptid			utf8z	"PID/TID"
942
	.cpu_usage_cycles	utf8z	"CPU(TSÜKLID)"
941
	.cpu_usage_cycles	utf8z	"CPU(TSÜKLID)"
Line 956... Line 955...
956
	.KB			utf8z	" KB"
955
	.KB			utf8z	" KB"
957
	.MB			utf8z	" MB"
956
	.MB			utf8z	" MB"
958
	.GB			utf8z	" GB"
957
	.GB			utf8z	" GB"
959
;-------------------------------------------------------------------------------
958
;-------------------------------------------------------------------------------
960
else if lang eq ru
959
else if lang eq ru
961
	.window_caption		utf8z	"Диспетчер процессов v0.2.1 - [Ctrl+Alt+Del]"
960
	.window_caption		utf8z	"Диспетчер процессов v0.2.2 - [Ctrl+Alt+Del]"
962
	.tmp_window_caption	db	"Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
-
 
Line 963... Line 961...
963
	
961
	
964
	.process_name		utf8z	"ИМЯ/ЗАВЕРШИТЬ"
962
	.process_name		utf8z	"ИМЯ/ЗАВЕРШИТЬ"
965
	.ptid			utf8z	"PID/TID"
963
	.ptid			utf8z	"PID/TID"
966
	.cpu_usage_cycles	utf8z	"CPU(ТАКТЫ)"
964
	.cpu_usage_cycles	utf8z	"CPU(ТАКТЫ)"
Line 980... Line 978...
980
	.KB			utf8z	" КБ"
978
	.KB			utf8z	" КБ"
981
	.MB			utf8z	" МБ"
979
	.MB			utf8z	" МБ"
982
	.GB			utf8z	" ГБ"
980
	.GB			utf8z	" ГБ"
983
;-------------------------------------------------------------------------------
981
;-------------------------------------------------------------------------------
984
else if lang eq it
982
else if lang eq it
985
	.window_caption		utf8z	"Gestore processi v0.2.1 - [Ctrl+Alt+Del]"
983
	.window_caption		utf8z	"Gestore processi v0.2.2 - [Ctrl+Alt+Del]"
986
	.tmp_window_caption	db	"Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
-
 
Line 987... Line 984...
987
	
984
	
988
	.process_name		utf8z	"NOME-PROGRAMMA"
985
	.process_name		utf8z	"NOME-PROGRAMMA"
989
	.ptid			utf8z	"PID/TID"
986
	.ptid			utf8z	"PID/TID"
990
	.cpu_usage_cycles	utf8z	"CPU(CICLI)"
987
	.cpu_usage_cycles	utf8z	"CPU(CICLI)"
Line 1004... Line 1001...
1004
	.KB			utf8z	" KB"
1001
	.KB			utf8z	" KB"
1005
	.MB			utf8z	" MB"
1002
	.MB			utf8z	" MB"
1006
	.GB			utf8z	" GB"
1003
	.GB			utf8z	" GB"
1007
;-------------------------------------------------------------------------------
1004
;-------------------------------------------------------------------------------
1008
else
1005
else
1009
	.window_caption		utf8z	"Process manager v0.2.1 - [Ctrl+Alt+Del]"
1006
	.window_caption		utf8z	"Process manager v0.2.2 - [Ctrl+Alt+Del]"
1010
	.tmp_window_caption	db	"Process manager v0.2.1 - [Ctrl+Alt+Del]", 0
-
 
Line 1011... Line 1007...
1011
	
1007
	
1012
	.process_name		utf8z	"NAME/TERMINATE"
1008
	.process_name		utf8z	"NAME/TERMINATE"
1013
	.ptid			utf8z	"PID/TID"
1009
	.ptid			utf8z	"PID/TID"
1014
	.cpu_usage_cycles	utf8z	"CPU(CYCLES)"
1010
	.cpu_usage_cycles	utf8z	"CPU(CYCLES)"