/programs/cmm/browser/WebView.c |
---|
124,7 → 124,7 |
mouse.get(); |
if (WB1.list.MouseOver(mouse.x, mouse.y)) |
{ |
PageLinks.Hover(mouse.x, WB1.list.first*WB1.list.line_h + mouse.y, link_color_inactive, link_color_active, bg_color); |
PageLinks.Hover(mouse.x, WB1.list.first*WB1.list.item_h + mouse.y, link_color_inactive, link_color_active, bg_color); |
if (bufsize) && (mouse.pkm) && (mouse.up) { CreateThread(#menu_rmb,#stak+4092); break; } |
if (WB1.list.MouseScroll(mouse.vert)) WB1.DrawPage(); |
} |
214,7 → 214,7 |
http_free stdcall (http_transfer); |
http_transfer=0; |
PageLinks.GetAbsoluteURL(#URL); |
BrowserHistory.current--; |
BrowserHistory.cur_y--; |
strcpy(#editURL, #URL); |
DrawEditBox(); |
OpenPage(); |
244,7 → 244,7 |
Form.cheight - TOOLBAR_H - STATUSBAR_H, WB1.list.font_h + WB1.DrawBuf.zoom + WB1.DrawBuf.zoom * WB1.DrawBuf.zoom); |
WB1.list.wheel_size = 7; |
WB1.list.column_max = WB1.list.w - scroll_wv.size_x / WB1.list.font_w; |
WB1.list.visible = WB1.list.h - 5 / WB1.list.line_h; |
WB1.list.visible = WB1.list.h - 5 / WB1.list.item_h; |
if (WB1.list.w!=WB1.DrawBuf.bufw) WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.h * 30); |
} |
486,7 → 486,7 |
if (http_transfer > 0) |
{ |
StopLoading(); |
BrowserHistory.current--; |
BrowserHistory.cur_y--; |
} |
strcpy(#URL, PageLinks.GetURL(PageLinks.active)); |
/programs/cmm/browser/menu.h |
---|
59,19 → 59,19 |
for (N=0; N<menu.count; N++;) |
{ |
if (N==menu.current) |
DrawBar(menu.x, N*menu.line_h+menu.y, menu.w-3, menu.line_h, 0x94AECE); |
if (N==menu.cur_y) |
DrawBar(menu.x, N*menu.item_h+menu.y, menu.w-3, menu.item_h, 0x94AECE); |
else |
{ |
DrawBar(menu.x, N*menu.line_h+menu.y, menu.w-3, menu.line_h, col_bg); |
WriteText(19,N*menu.line_h+9,0x80,0xf2f2f2,ITEMS_LIST[N]); |
DrawBar(menu.x, N*menu.item_h+menu.y, menu.w-3, menu.item_h, col_bg); |
WriteText(19,N*menu.item_h+9,0x80,0xf2f2f2,ITEMS_LIST[N]); |
} |
WriteText(18,N*menu.line_h+8,0x80,0x000000,ITEMS_LIST[N]); |
WriteText(18,N*menu.item_h+8,0x80,0x000000,ITEMS_LIST[N]); |
} |
} |
void ItemClick() |
{ |
action_buf = VIEW_SOURCE + menu.current; |
action_buf = VIEW_SOURCE + menu.cur_y; |
ExitProcess(); |
} |