Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6277 → Rev 6278

/programs/cmm/browser/WebView.c
237,7 → 237,7
GetAbsoluteURL(#URL);
history.back();
strcpy(#editURL, #URL);
DrawEditBox();
DrawEditBoxWebView();
OpenPage();
}
else
290,7 → 290,7
img_draw stdcall(skin.image, Form.cwidth-22, address_box.top-3, 16, skin.h, 85, 0);
DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,STATUSBAR_H, col_bg);
DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, border_color);
if (!header) OpenPage(); else { WB1.DrawPage(); DrawEditBox(); }
if (!header) OpenPage(); else { WB1.DrawPage(); DrawEditBoxWebView(); }
DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, scroll_wv.bckg_col);
DrawProgress();
 
426,7 → 426,7
SetPageDefaults();
if (!strcmp(#URL, URL_SERVICE_HOME)) WB1.LoadInternalPage(#homepage, sizeof(homepage));
else if (!strcmp(#URL, URL_SERVICE_HISTORY)) ShowHistory();
DrawEditBox();
DrawEditBoxWebView();
return;
}
if (!strncmp(#URL,"http:",5))
458,7 → 458,7
}
}
 
DrawEditBox()
DrawEditBoxWebView()
{
DrawWideRectangle(address_box.left-2, address_box.top-2, address_box.width+3, 19, 2, address_box.color);
address_box.size = address_box.pos = address_box.shift = address_box.shift_old = strlen(#editURL);
471,7 → 471,7
 
void ShowPage()
{
DrawEditBox();
DrawEditBoxWebView();
if (!bufsize)
{
if (http_transfer) WB1.LoadInternalPage(#loading, sizeof(loading));
/programs/cmm/browser/compile_en.bat
1,7 → 1,7
@del lang.h--
@echo #define LANG_ENG 1 >lang.h--
 
c-- WebView.c
@c-- WebView.c
@del WebView
@rename WebView.com WebView
@del warning.txt
/programs/cmm/browser/compile_ru.bat
1,7 → 1,7
@del lang.h--
@echo #define LANG_RUS 1 >lang.h--
 
c-- WebView.c
@c-- WebView.c
@del WebView
@rename WebView.com WebView
@del warning.txt
/programs/cmm/browser/download_manager.h
128,9 → 128,10
ed.left = strlen("URL:")*6 + 10 + cleft;
ed.width = DL_Form.cwidth - ed.left - cleft - 3;
ed.offset=0;
edit_box_draw stdcall(#ed);
DrawRectangle(ed.left-1, ed.top-1, ed.width+2, 16, ed.blur_border_color);
DrawRectangle(ed.left-2, ed.top-2, ed.width+4, 18, border_color);
//edit_box_draw stdcall(#ed);
DrawEditBox(#ed);
//DrawRectangle(ed.left-1, ed.top-1, ed.width+2, 16, ed.blur_border_color);
//DrawRectangle(ed.left-2, ed.top-2, ed.width+4, 18, border_color);
}
 
void StartDownloading()