Subversion Repositories Kolibri OS

Rev

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

Rev 4550 Rev 4677
Line 61... Line 61...
61
	count = 0;
61
	count = 0;
62
	active = -1;
62
	active = -1;
63
	CursorPointer.Restore();
63
	CursorPointer.Restore();
64
}
64
}
Line -... Line 65...
-
 
65
 
-
 
66
char temp[4096];
Line 65... Line 67...
65
 
67
PathShow_data status_text = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, 0, #temp, 0};
66
 
68
 
67
void LinksArray::Hover(dword mx, my, link_col_in, link_col_a, bg_col)
69
void LinksArray::Hover(dword mx, my, link_col_in, link_col_a, bg_col)
68
{
70
{
Line 74... Line 76...
74
			if (active==i) return;
76
			if (active==i) return;
75
			CursorPointer.Set();
77
			CursorPointer.Set();
76
			if (links[active].underline) DrawBar(links[active].x,links[active].y+8,links[active].w,1, link_col_in);
78
			if (links[active].underline) DrawBar(links[active].x,links[active].y+8,links[active].w,1, link_col_in);
77
			if (links[i].underline) DrawBar(links[i].x,links[i].y+8,links[i].w,1, bg_col);
79
			if (links[i].underline) DrawBar(links[i].x,links[i].y+8,links[i].w,1, bg_col);
78
			active = i;
80
			active = i;
-
 
81
			DrawBar(progress_bar.left+progress_bar.width+10, progress_bar.top+2, Form.cwidth-progress_bar.left-progress_bar.width-10, 9, col_bg);
-
 
82
			status_text.start_x = progress_bar.left+progress_bar.width+10;
-
 
83
			status_text.start_y = progress_bar.top+2;
-
 
84
			status_text.area_size_x = Form.cwidth-progress_bar.left-progress_bar.width-10;
-
 
85
			status_text.text_pointer = links[active].link;
-
 
86
			PathShow_prepare stdcall(#status_text);
-
 
87
			PathShow_draw stdcall(#status_text);
79
			return;
88
			return;
80
		}
89
		}
81
	}
90
	}
82
	if (active!=-1)
91
	if (active!=-1)
83
	{
92
	{
84
		CursorPointer.Restore();
93
		CursorPointer.Restore();
85
		if (links[active].underline) DrawBar(links[active].x,links[active].y+8,links[active].w,1, link_col_in);
94
		if (links[active].underline) DrawBar(links[active].x,links[active].y+8,links[active].w,1, link_col_in);
-
 
95
		DrawBar(progress_bar.left+progress_bar.width+10, progress_bar.top+2, Form.cwidth-progress_bar.left-progress_bar.width-10, 9, col_bg);
86
		active = -1;
96
		active = -1;
87
	}
97
	}
88
}
98
}