Subversion Repositories Kolibri OS

Rev

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

Rev 2574 Rev 5916
Line 403... Line 403...
403
		add dword[ebx+offs_cell_y],esi
403
		add dword[ebx+offs_cell_y],esi
404
		loop @b
404
		loop @b
405
	.end_0:
405
	.end_0:
Line 406... Line 406...
406
 
406
 
407
	;横« ¯® «®£¨ç¥áª¨¬ í«¥¬¥­â ¬ ¨ ¯®¤¯¨áï¬
407
	;横« ¯® «®£¨ç¥áª¨¬ í«¥¬¥­â ¬ ¨ ¯®¤¯¨áï¬
408
	stdcall dword[tl_node_poi_get_info],0,tree1
-
 
409
	pop eax
408
	stdcall dword[tl_node_poi_get_info], tree1,0
410
	@@:
409
	@@:
411
		cmp eax,0
410
		cmp eax,0
412
		je .end_1
411
		je .end_1
413
		cmp word[eax],el_icon_elems ;¯®«ã祭¨¥ ç¥à¥§ eax ⨯ ¨ª®­ª¨
412
		cmp word[eax],el_icon_elems ;¯®«ã祭¨¥ ç¥à¥§ eax ⨯ ¨ª®­ª¨
414
		je .mov_1
413
		je .mov_1
415
		cmp word[eax],el_icon_captions
414
		cmp word[eax],el_icon_captions
416
		je .mov_1
415
		je .mov_1
417
			jmp .end_mov_1
416
			jmp .end_mov_1
-
 
417
		.mov_1:
418
		.mov_1:
418
			mov ecx,eax
419
			stdcall [tl_node_poi_get_data], eax, tree1
-
 
420
			pop ecx
-
 
421
 
419
			stdcall [tl_node_poi_get_data], tree1,eax
422
			add [ecx],edx ;coord x
420
			add [eax],edx ;coord x
-
 
421
			add [eax+4],esi ;coord y
423
			add [ecx+4],esi ;coord y
422
			mov eax,ecx
424
		.end_mov_1:
-
 
425
		stdcall dword[tl_node_poi_get_next_info],eax,tree1
423
		.end_mov_1:
426
		pop eax ;¯¥à¥å®¤¨¬ ª á«¥¤ã饬ã 㧫ã
424
		stdcall dword[tl_node_poi_get_next_info], tree1,eax ;¯¥à¥å®¤¨¬ ª á«¥¤ã饬ã 㧫ã
427
		jmp @b
425
		jmp @b
Line 428... Line 426...
428
	.end_1:
426
	.end_1:
429
 
427
 
Line 534... Line 532...
534
	ret
532
	ret
535
endp
533
endp
Line 536... Line 534...
536
 
534
 
537
align 4
535
align 4
538
proc p_paint_elems uses eax esi
536
proc p_paint_elems uses eax esi
539
	stdcall dword[tl_node_poi_get_info],0,tree1
-
 
540
	pop esi
537
	stdcall dword[tl_node_poi_get_info], tree1,0
541
	@@:
538
	@@:
542
		cmp esi,0
539
		cmp eax,0
-
 
540
		je @f
543
		je @f
541
		mov esi,eax
544
		cmp word[esi],el_icon_elems ;¯®«ã祭¨¥ ç¥à¥§ esi ⨯ ¨ª®­ª¨
542
		cmp word[esi],el_icon_elems ;¯®«ã祭¨¥ ç¥à¥§ esi ⨯ ¨ª®­ª¨
545
		jne .end_element
543
		jne .end_element
546
			stdcall [tl_node_poi_get_data], esi, tree1
-
 
547
			pop eax
544
			stdcall [tl_node_poi_get_data], tree1,esi
548
			stdcall el_draw, eax
545
			stdcall el_draw, eax
549
		.end_element:
546
		.end_element:
550
		cmp word[esi],el_icon_captions ;¯®«ã祭¨¥ ç¥à¥§ esi ⨯ ¨ª®­ª¨
547
		cmp word[esi],el_icon_captions ;¯®«ã祭¨¥ ç¥à¥§ esi ⨯ ¨ª®­ª¨
551
		jne .end_caption
548
		jne .end_caption
552
			stdcall [tl_node_poi_get_data], esi, tree1
-
 
553
			pop eax
549
			stdcall [tl_node_poi_get_data], tree1,esi
554
			stdcall capt_draw, eax
550
			stdcall capt_draw, eax
555
		.end_caption:
551
		.end_caption:
556
		stdcall dword[tl_node_poi_get_next_info],esi,tree1
-
 
557
		pop esi ;¯¥à¥å®¤¨¬ ª á«¥¤ã饬ã 㧫ã
552
		stdcall dword[tl_node_poi_get_next_info], tree1,esi
558
		jmp @b
553
		jmp @b
559
	@@:
554
	@@:
560
	ret
555
	ret