Subversion Repositories Kolibri OS

Rev

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

Rev 2843 Rev 3456
Line 232... Line 232...
232
	jmp	still
232
	jmp	still
233
;---------------------------------------------------------------------
233
;---------------------------------------------------------------------
234
draw_window_1:
234
draw_window_1:
235
	call	start_draw
235
	call	start_draw
236
	call	draw_window
236
	call	draw_window
-
 
237
 
-
 
238
	mov     eax,[threath_buf+70]
-
 
239
	test	eax,10b
-
 
240
	jnz     .end
-
 
241
	test	eax,100b
-
 
242
	jnz     .end
-
 
243
 
237
	call	show_file_size
244
	call	show_file_size
238
	call	show_codepage
245
	call	show_codepage
239
	call	show_insert
246
	call	show_insert
240
	call	ready_screen_buffer
247
	call	ready_screen_buffer
241
	call	main_area
248
	call	main_area
-
 
249
.end:
242
	ret
250
	ret
243
;---------------------------------------------------------------------
251
;---------------------------------------------------------------------
244
key:
252
key:
245
	mcall	2
253
	mcall	2
246
	dec	al
254
	dec	al
Line 1385... Line 1393...
1385
draw_window:
1393
draw_window:
1386
	call	create_title
1394
	call	create_title
1387
	xor	esi,esi
1395
	xor	esi,esi
1388
	mcall	0,100*65536+653,100*65536+360,((0x73 shl 24) + frgrd_color),,title_buf	;title
1396
	mcall	0,100*65536+653,100*65536+360,((0x73 shl 24) + frgrd_color),,title_buf	;title
1389
	mcall	9,threath_buf,-1
1397
	mcall	9,threath_buf,-1
1390
	cmp	byte [threath_buf+70],3	;®ª­® á¢ñà­ãâ® ¢ § £®«®¢®ª?
1398
;	cmp	byte [threath_buf+70],3	;®ª­® á¢ñà­ãâ® ¢ § £®«®¢®ª?
1391
	jnae	@f
1399
;	jnae	@f
-
 
1400
	mov	eax,[threath_buf+70]
-
 
1401
	test	eax,10b
-
 
1402
	jnz	.@d
-
 
1403
	test	eax,100b
-
 
1404
	jz	@f
1392
.@d:
1405
.@d:
1393
	call	end_draw
1406
	call	end_draw
1394
	add	esp,4
-
 
1395
	jmp	still
1407
	ret
1396
;--------------------------------------
1408
;--------------------------------------
1397
@@:
1409
@@:
1398
	cmp	dword [threath_buf+66],(24*4)	;¯à®¢¥àª  ¬¨­¨¬ «ì­®© ¢ëá®âë
1410
	cmp	dword [threath_buf+66],(24*4)	;¯à®¢¥àª  ¬¨­¨¬ «ì­®© ¢ëá®âë
1399
	jae	@f
1411
	jae	@f
1400
	mov	esi,dword [threath_buf+46]
1412
	mov	esi,dword [threath_buf+46]
Line 1969... Line 1981...
1969
	cmp	al,2
1981
	cmp	al,2
1970
	je	.keys
1982
	je	.keys
1971
	cmp	al,1
1983
	cmp	al,1
1972
	jne	.2
1984
	jne	.2
1973
	call	draw_window
1985
	call	draw_window
-
 
1986
	
-
 
1987
	mov     eax,[threath_buf+70]
-
 
1988
	test    eax,10b
-
 
1989
	jnz     .2
-
 
1990
	test    eax,100b
-
 
1991
	jnz     .2
-
 
1992
	
1974
	call	main_area
1993
	call	main_area
1975
	bt	[flags],2
1994
	bt	[flags],2
1976
	jnc	@f
1995
	jnc	@f
1977
	push	dword Option_boxs
1996
	push	dword Option_boxs
1978
	call	[option_box_draw]
1997
	call	[option_box_draw]
Line 3435... Line 3454...
3435
;--------------------------------------------------------------------
3454
;--------------------------------------------------------------------
3436
file_name:
3455
file_name:
3437
cur_dir_path	rb 4096
3456
cur_dir_path	rb 4096
3438
buf_cmd_lin	rb 0
3457
buf_cmd_lin	rb 0
3439
procinfo:	;opendialog
3458
procinfo:	;opendialog
3440
threath_buf	rb 0x400
3459
threath_buf:
-
 
3460
	rb 0x400
3441
path:
3461
path:
3442
		rb 1024+16	;opendialog
3462
		rb 1024+16	;opendialog
Line 3443... Line 3463...
3443
 
3463
 
3444
screen_table	rd 1
3464
screen_table	rd 1
Line 3477... Line 3497...
3477
find_string	rb 17
3497
find_string	rb 17
3478
sel1_string	rb 9
3498
sel1_string	rb 9
3479
sel2_string	rb 9
3499
sel2_string	rb 9
3480
cur_help_string	rb 1	;­®¬¥à áâப¨, á ª®â®à®© ¢ë¢®¤¨âáï ⥪áâ ¢ help - ®ª­¥
3500
cur_help_string	rb 1	;­®¬¥à áâப¨, á ª®â®à®© ¢ë¢®¤¨âáï ⥪áâ ¢ help - ®ª­¥
Line 3481... Line 3501...
3481
 
3501
 
3482
help_is_open_already	db ?  ;¥á«¨ ®ª­® á¯à ¢ª¨ ®âªàëâ®, â® §¤¥áì 1
3502
help_is_open_already	rb 1  ;¥á«¨ ®ª­® á¯à ¢ª¨ ®âªàëâ®, â® §¤¥áì 1
Line 3483... Line 3503...
3483
help_window_pid 	dd ?
3503
help_window_pid 	rd 1
3484
 
3504
 
3485
func_70	f70
3505
func_70	f70
3486
;---------------------------------------------------------------------
3506
;---------------------------------------------------------------------