Subversion Repositories Kolibri OS

Rev

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

Rev 1589 Rev 1666
Line 130... Line 130...
130
	call	fb_draw_folder_data
130
	call	fb_draw_folder_data
131
	popa
131
	popa
132
	ret
132
	ret
133
;---------------------------------------------------------------------
133
;---------------------------------------------------------------------
134
fb_clear_panel:
134
fb_clear_panel:
135
	cmp	fb_all_redraw,dword 1
135
	cmp	fb_all_redraw,1
136
	jne	@f
136
	jne	@f
137
	xor	eax,eax
137
	xor	eax,eax
138
	mov	fb_max_name_temp_size,eax
138
	mov	fb_max_name_temp_size,eax
139
@@:
139
@@:
140
	ret
140
	ret
Line 158... Line 158...
158
	div	ebx
158
	div	ebx
159
	mov	fb_max_panel_line,eax
159
	mov	fb_max_panel_line,eax
160
	ret
160
	ret
161
;---------------------------------------------------------------------
161
;---------------------------------------------------------------------
162
fb_draw_panel_selection:
162
fb_draw_panel_selection:
163
	cmp	fb_all_redraw,dword 2
163
	cmp	fb_all_redraw,2
164
	je	.end
164
	je	.end
165
	xor	eax,eax
165
	xor	eax,eax
166
	cmp	fb_select_panel_counter,eax
166
	cmp	fb_select_panel_counter,eax
167
	je	.end
167
	je	.end
168
	mov	eax,fb_folder_block
168
	mov	eax,fb_folder_block
Line 192... Line 192...
192
	shl	eax,16
192
	shl	eax,16
193
	push	eax
193
	push	eax
194
	add	ebx,eax
194
	add	ebx,eax
195
	mcall	13
195
	mcall	13
196
	pop	ebx
196
	pop	ebx
197
	cmp	fb_all_redraw,dword 0
197
	cmp	fb_all_redraw,0
198
	je	.end
198
	je	.end
199
	mov	bx,fb_start_x
199
	mov	bx,fb_start_x
200
	ror	ebx,16
200
	ror	ebx,16
201
	mcall	13,,,fb_background_color
201
	mcall	13,,,fb_background_color
202
.end:
202
.end:
Line 261... Line 261...
261
	je	@f
261
	je	@f
262
	mov	fb_marked_file,1
262
	mov	fb_marked_file,1
263
@@:
263
@@:
264
	call	fb_clear_line
264
	call	fb_clear_line
265
	call	fb_draw_type_size_date
265
	call	fb_draw_type_size_date
266
	cmp	fb_all_redraw,dword 2
266
	cmp	fb_all_redraw,2
267
	je	.draw_icon
267
	je	.draw_icon
268
	cmp	fb_all_redraw,dword 0
268
	cmp	fb_all_redraw,0
269
	je	@f
269
	je	@f
270
.draw_icon:
270
.draw_icon:
271
	call	fb_draw_icon
271
	call	fb_draw_icon
272
@@:
272
@@:
273
	push	eax
273
	push	eax
Line 383... Line 383...
383
	popa
383
	popa
Line 384... Line 384...
384
 
384
 
385
	pusha
385
	pusha
Line 386... Line 386...
386
	mov	edx,fb_name_temp_area
386
	mov	edx,fb_name_temp_area
387
 
387
 
388
	cmp	fb_all_redraw,dword 2
388
	cmp	fb_all_redraw,2
389
	jne	.draw_name_temp_area_1
389
	jne	.draw_name_temp_area_1
390
	mov	esi,fb_max_name_temp_size
390
	mov	esi,fb_max_name_temp_size
Line 404... Line 404...
404
	ret
404
	ret
405
;--------------------------------------
405
;--------------------------------------
406
.end_1:
406
.end_1:
407
	popa
407
	popa
408
.end_2:
408
.end_2:
409
	cmp	fb_all_redraw,dword 1
409
	cmp	fb_all_redraw,1
410
	jne	@f
410
	jne	@f
Line 411... Line 411...
411
 
411
 
412
	mov	ax,fb_start_y
412
	mov	ax,fb_start_y
413
	add	ax,fb_size_y
413
	add	ax,fb_size_y
Line 445... Line 445...
445
	cmp	bx,ax
445
	cmp	bx,ax
446
	jne	.continue
446
	jne	.continue
447
	mov	fb_draw_panel_selection_flag,1
447
	mov	fb_draw_panel_selection_flag,1
448
	jmp	.end
448
	jmp	.end
449
.continue:
449
.continue:
450
	cmp	fb_all_redraw,dword 2
450
	cmp	fb_all_redraw,2
451
	je	.end
451
	je	.end
452
	cmp	fb_all_redraw,dword 0
452
	cmp	fb_all_redraw,0
453
	je	.end
453
	je	.end
454
	mov	ebx,[esp+16]
454
	mov	ebx,[esp+16]
455
	mov	cx,bx
455
	mov	cx,bx
456
;	dec	cx
456
;	dec	cx
457
	rol	ecx,16
457
	rol	ecx,16
Line 647... Line 647...
647
	jz	@f
647
	jz	@f
648
	inc	ax
648
	inc	ax
649
@@:
649
@@:
650
	pop	ebx
650
	pop	ebx
651
	add	bx,ax
651
	add	bx,ax
652
	cmp	fb_all_redraw,dword 2
652
	cmp	fb_all_redraw,2
653
	jne	.draw  ;@f
653
	jne	.draw  ;@f
654
	and	ecx,0xffffff
654
	and	ecx,0xffffff
655
	add	ecx,0x40000000
655
	add	ecx,0x40000000
Line 656... Line 656...
656
 
656