Subversion Repositories Kolibri OS

Rev

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

Rev 3279 Rev 3357
Line 62... Line 62...
62
INI_SEC_PREFIX equ ''
62
INI_SEC_PREFIX equ ''
Line 63... Line 63...
63
 
63
 
64
;-----------------------------------------------------------------------------
64
;-----------------------------------------------------------------------------
65
section @CODE ;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
65
section @CODE ;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
66
;-----------------------------------------------------------------------------
-
 
67
 
-
 
68
	mcall	9,p_info2,-1
-
 
69
	mov	ecx,[ebx+30]	; PID
-
 
70
	mcall	18,21
-
 
71
	mov	[active_process],eax	; WINDOW SLOT
-
 
72
 
66
;-----------------------------------------------------------------------------
73
	cld
67
	cld
74
	mov	edi,@UDATA
68
	mov	edi,@UDATA
75
	mov	ecx,@PARAMS-@UDATA
69
	mov	ecx,@PARAMS-@UDATA
76
	mov	al,0
70
	mov	al,0
Line 218... Line 212...
218
  .skip_write:
212
  .skip_write:
219
	cmp	[open_dialog],1
213
	cmp	[open_dialog],1
220
	je	.open_dialog
214
	je	.open_dialog
221
	mcall	10	; wait here until event
215
	mcall	10	; wait here until event
Line 222... Line -...
222
	
-
 
223
	call	check_active_process_for_clear_all_flags
-
 
224
 
216
 
225
	cmp	[main_closed],0
217
	cmp	[main_closed],0
226
	jne	key.alt_x
218
	jne	key.alt_x
227
	dec	eax	; redraw ?
219
	dec	eax	; redraw ?
228
	jz	red
220
	jz	red
Line 279... Line 271...
279
draw_window_for_OD:
271
draw_window_for_OD:
280
	call	drawwindow
272
	call	drawwindow
281
	call	draw_statusbar
273
	call	draw_statusbar
282
	ret
274
	ret
283
;-----------------------------------------------------------------------------
275
;-----------------------------------------------------------------------------
284
check_active_process_for_clear_all_flags:
-
 
285
	push	eax
-
 
286
	mcall	18,7
-
 
287
	cmp	[active_process],eax
-
 
288
	je	.exit
-
 
289
	
-
 
290
	xor	eax,eax
-
 
291
	mov	[win_key_flag],al
-
 
292
;--------------------------------------    
-
 
293
.exit:
-
 
294
	pop	eax
-
 
295
	ret
-
 
296
;-----------------------------------------------------------------------------
-
 
297
copy_str_2:
276
copy_str_2:
298
	cld
277
	cld
299
	push	esi ecx
278
	push	esi ecx
300
	rep	movsb	; edi  openfile_pach
279
	rep	movsb	; edi  openfile_pach
301
	xor	eax,eax
280
	xor	eax,eax