Subversion Repositories Kolibri OS

Rev

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

Rev 6738 Rev 6782
Line 134... Line 134...
134
				mouse.get();
134
				mouse.get();
135
				if (WB1.list.MouseOver(mouse.x, mouse.y))
135
				if (WB1.list.MouseOver(mouse.x, mouse.y))
136
				{
136
				{
137
					PageLinks.Hover(mouse.x, WB1.list.first*WB1.list.item_h + mouse.y, link_color_inactive, link_color_active, bg_color);
137
					PageLinks.Hover(mouse.x, WB1.list.first*WB1.list.item_h + mouse.y, link_color_inactive, link_color_active, bg_color);
138
					if (bufsize) && (mouse.pkm) && (mouse.up) {
138
					if (bufsize) && (mouse.pkm) && (mouse.up) {
139
						menu.show(Form.left+mouse.x-6,Form.top+mouse.y+skin_height+3, 180, #rmb_menu, VIEW_SOURCE);
139
						EventShowMenu(mouse.x, mouse.y);
140
						break;
140
						break;
141
					}
141
					}
142
					if (WB1.list.MouseScroll(mouse.vert)) WB1.DrawPage();
142
					if (WB1.list.MouseScroll(mouse.vert)) WB1.DrawPage();
143
				}
143
				}
144
				scrollbar_v_mouse (#scroll_wv);
144
				scrollbar_v_mouse (#scroll_wv);
Line 340... Line 340...
340
				Draw_Window();
340
				Draw_Window();
341
			}
341
			}
342
			else OpenPage();
342
			else OpenPage();
343
			return;
343
			return;
344
		case SANDWICH_BUTTON:
344
		case SANDWICH_BUTTON:
345
			mouse.y = TOOLBAR_H-6;
-
 
346
			mouse.x = Form.cwidth - 167;
345
			EventShowMenu(Form.cwidth - 215, TOOLBAR_H-6);
347
			menu.show(Form.left+mouse.x-6,Form.top+mouse.y+skin_height+3, 180, #rmb_menu, VIEW_SOURCE);
-
 
348
			return;
346
			return;
349
		case VIEW_SOURCE:
347
		case VIEW_SOURCE:
350
			WB1.list.first = 0;
348
			WB1.list.first = 0;
351
			ShowSource();
349
			ShowSource();
352
			WB1.LoadInternalPage(bufpointer, bufsize);
350
			WB1.LoadInternalPage(bufpointer, bufsize);
Line 574... Line 572...
574
		}
572
		}
575
	}
573
	}
576
	OpenPage();
574
	OpenPage();
577
}
575
}
Line -... Line 576...
-
 
576
 
-
 
577
void EventShowMenu(dword _left, _top)
-
 
578
{
-
 
579
	menu.show(Form.left+_left-6,Form.top+_top+skin_height+3, 220, #rmb_menu, VIEW_SOURCE);
-
 
580
}
578
 
581
 
579
stop:
582
stop: