Subversion Repositories Kolibri OS

Rev

Rev 7752 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7752 Rev 7755
Line 56... Line 56...
56
	count = 0;
56
	count = 0;
57
	active = -1;
57
	active = -1;
58
	CursorPointer.Restore();
58
	CursorPointer.Restore();
59
}
59
}
Line 60... Line -...
60
 
-
 
61
char temp[URL_SIZE];
60
 
Line 62... Line 61...
62
PathShow_data status_text = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, 0, #temp, 0};
61
PathShow_data status_text = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, 0, NULL, 0};
63
 
62
 
64
bool LinksArray::HoverAndProceed(dword mx, my)
63
bool LinksArray::HoverAndProceed(dword mx, my)
65
{
64
{
Line 75... Line 74...
75
				DrawRectangle(links[active].x, -WB1.list.first + links[active].y, 
74
				DrawRectangle(links[active].x, -WB1.list.first + links[active].y, 
76
				links[active].w, links[active].h, 0);
75
				links[active].w, links[active].h, 0);
77
				return false;
76
				return false;
78
			}
77
			}
79
			if (mouse.mkm) && (mouse.up) {
78
			if (mouse.mkm) && (mouse.up) {
80
				open_in_a_new_window = true;
79
				RunProgram(#program_path, PageLinks.GetURL(PageLinks.active));
81
				EventClickLink();
-
 
82
				return false;
80
				return false;
83
			}
81
			}
84
			if (mouse.lkm) && (mouse.up) { 
82
			if (mouse.lkm) && (mouse.up) { 
85
				CursorPointer.Restore();
83
				CursorPointer.Restore();
86
				EventClickLink();
84
				EventClickLink(PageLinks.GetURL(PageLinks.active));
87
				return false;
85
				return false;
88
			}
86
			}
89
			if (mouse.pkm) && (mouse.up) { 
87
			if (mouse.pkm) && (mouse.up) { 
90
				EventShowLinkMenu(mouse.x, mouse.y);
88
				EventShowLinkMenu(mouse.x, mouse.y);
91
				return false;
89
				return false;