Subversion Repositories Kolibri OS

Rev

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

Rev 3952 Rev 3955
Line 51... Line 51...
51
window_y_size=430
51
window_y_size=430
52
;------------------------------------------------------------------------------
52
;------------------------------------------------------------------------------
53
@use_library    ;use load lib macros
53
@use_library    ;use load lib macros
54
;------------------------------------------------------------------------------
54
;------------------------------------------------------------------------------
55
START:                          ; start of execution
55
START:                          ; start of execution
56
	mcall	9,process_info_buffer,-1
-
 
57
	mov	ecx,[ebx+30]	; PID
-
 
58
	mcall	18,21
-
 
59
	mov	[active_process],eax	; WINDOW SLOT
-
 
60
;------------------------------------------------------------------------------	
-
 
61
        mcall   68,11
56
        mcall   68,11
62
sys_load_library  library_name, cur_dir_path, library_path, system_path, \
57
sys_load_library  library_name, cur_dir_path, library_path, system_path, \
63
err_message_found_lib, head_f_l, myimport, err_message_import, head_f_i
58
err_message_found_lib, head_f_l, myimport, err_message_import, head_f_i
64
        inc     eax
59
        inc     eax
65
        jz      close
60
        jz      close
Line 99... Line 94...
99
;------------------------------------------------------------------------------
94
;------------------------------------------------------------------------------
100
align 4
95
align 4
101
still:
96
still:
102
        mcall   23,100          ; wait here for event 1 sec.
97
        mcall   23,100          ; wait here for event 1 sec.
Line -... Line 98...
-
 
98
	
-
 
99
	test	eax,eax
-
 
100
	jz	still_end
103
 
101
 
104
        dec     eax                   ; redraw request ?
102
        dec     eax                   ; redraw request ?
Line 105... Line 103...
105
        jz      red
103
        jz      red
106
 
104
 
Line 107... Line 105...
107
        dec     eax                   ; key in buffer ?
105
        dec     eax                   ; key in buffer ?
108
        jz      key
106
        jz      key
Line 109... Line -...
109
 
-
 
110
        dec     eax                   ; button in buffer ?
-
 
111
        jz      button
-
 
112
 
-
 
113
	mcall	18,7
107
 
114
	cmp	[active_process],eax
108
        dec     eax                   ; button in buffer ?
Line 115... Line 109...
115
	jne	still_end
109
        jz      button
Line 767... Line 761...
767
list_add        rd 1
761
list_add        rd 1
768
curposy         rd 1
762
curposy         rd 1
769
index           rd 1
763
index           rd 1
770
tasklist        rd display_processes
764
tasklist        rd display_processes
771
time_counter    rd 1
765
time_counter    rd 1
772
active_process  rd 1
-
 
Line 773... Line 766...
773
 
766
 
774
window_status           rd 1
767
window_status           rd 1
775
client_area_x_size      rd 1
768
client_area_x_size      rd 1
776
client_area_y_size      rd 1
769
client_area_y_size      rd 1