Subversion Repositories Kolibri OS

Rev

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

Rev 4718 Rev 5519
Line 74... Line 74...
74
	{
74
	{
75
		if (mx>links[i].x) && (my>links[i].y) && (mx
75
		if (mx>links[i].x) && (my>links[i].y) && (mx
76
		{
76
		{
77
			if (active==i) return;
77
			if (active==i) return;
78
			CursorPointer.Set();
78
			CursorPointer.Set();
79
			if (links[active].underline) DrawBar(links[active].x,links[active].y+10,links[active].w,1, link_col_in);
79
			if (links[active].underline) DrawBar(links[active].x, WB1.list.line_h - WB1.DrawBuf.zoomf * WB1.DrawBuf.zoomf + links[active].y,links[active].w, WB1.DrawBuf.zoomf, link_col_in);
80
			if (links[i].underline) DrawBar(links[i].x,links[i].y+10,links[i].w,1, bg_col);
80
			if (links[i].underline) DrawBar(links[i].x, WB1.list.line_h - WB1.DrawBuf.zoomf * WB1.DrawBuf.zoomf + links[i].y,links[i].w, WB1.DrawBuf.zoomf, bg_col);
81
			active = i;
81
			active = i;
82
			status_text.start_x = progress_bar.left+progress_bar.width+10;
82
			status_text.start_x = wv_progress_bar.left + wv_progress_bar.width + 10;
83
			status_text.start_y = Form.cheight-STATUSBAR_H+3;
83
			status_text.start_y = Form.cheight - STATUSBAR_H + 3;
84
			status_text.area_size_x = Form.cwidth - status_text.start_x -3;
84
			status_text.area_size_x = Form.cwidth - status_text.start_x -3;
85
			DrawBar(status_text.start_x, status_text.start_y, status_text.area_size_x, 9, col_bg);
85
			DrawBar(status_text.start_x, status_text.start_y, status_text.area_size_x, 9, col_bg);
86
			status_text.text_pointer = links[active].link;
86
			status_text.text_pointer = links[active].link;
87
			PathShow_prepare stdcall(#status_text);
87
			PathShow_prepare stdcall(#status_text);
Line 90... Line 90...
90
		}
90
		}
91
	}
91
	}
92
	if (active!=-1)
92
	if (active!=-1)
93
	{
93
	{
94
		CursorPointer.Restore();
94
		CursorPointer.Restore();
95
		if (links[active].underline) DrawBar(links[active].x,links[active].y+10,links[active].w,1, link_col_in);
95
		if (links[active].underline) DrawBar(links[active].x, WB1.list.line_h - WB1.DrawBuf.zoomf * WB1.DrawBuf.zoomf + links[active].y,links[active].w, WB1.DrawBuf.zoomf, link_col_in);
96
		DrawBar(status_text.start_x, status_text.start_y, status_text.area_size_x, 9, col_bg);
96
		DrawBar(status_text.start_x, status_text.start_y, status_text.area_size_x, 9, col_bg);
97
		active = -1;
97
		active = -1;
98
	}
98
	}
99
}
99
}