Subversion Repositories Kolibri OS

Rev

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

Rev 8413 Rev 8417
Line 39... Line 39...
39
//===================================================//
39
//===================================================//
40
//                                                   //
40
//                                                   //
41
//                       DATA                        //
41
//                       DATA                        //
42
//                                                   //
42
//                                                   //
43
//===================================================//
43
//===================================================//
44
char version[]="WebView 3.03";
44
char version[]="WebView 3.04";
Line 45... Line 45...
45
 
45
 
Line 46... Line 46...
46
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
46
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
47
 
47
 
Line 597... Line 597...
597
{
597
{
598
	dword aURL = links.active_url;
598
	dword aURL = links.active_url;
Line 599... Line 599...
599
 
599
 
600
	if (anchors.get_pos_by_name(aURL+1)!=-1) {
600
	if (anchors.get_pos_by_name(aURL+1)!=-1) {
-
 
601
		WB1.list.first = anchors.get_pos_by_name(aURL+1);
601
		WB1.list.first = anchors.get_pos_by_name(aURL+1);
602
		WB1.list.CheckDoesValuesOkey();
602
		strcpy(#editURL, history.current());
603
		strcpy(#editURL, history.current());
603
		strcat(#editURL, aURL);
604
		strcat(#editURL, aURL);
604
		DrawOmnibox();
605
		DrawOmnibox();
605
		WB1.DrawPage();
606
		WB1.DrawPage();
Line 840... Line 841...
840
 
841
 
841
void DrawStatusBar(dword _msg)
842
void DrawStatusBar(dword _msg)
842
{
843
{
843
	dword status_y = Form.cheight - STATUSBAR_H + 4;
844
	dword status_y = Form.cheight - STATUSBAR_H + 4;
-
 
845
	dword status_w = Form.cwidth - 90;
844
	dword status_w = Form.cwidth - 90;
846
	if (Form.status_window>2) return;
845
	DrawBar(0,Form.cheight - STATUSBAR_H+1, Form.cwidth,STATUSBAR_H-1, sc.work);
847
	DrawBar(0,Form.cheight - STATUSBAR_H+1, Form.cwidth,STATUSBAR_H-1, sc.work);
846
	if (_msg) {
848
	if (_msg) {
847
		ESI = math.min(status_w/6, strlen(_msg));
849
		ESI = math.min(status_w/6, strlen(_msg));
848
		WriteText(10, status_y, 0, sc.work_text, _msg);
850
		WriteText(10, status_y, 0, sc.work_text, _msg);