Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7892 → Rev 7893

/programs/cmm/TWB/TWB.c
35,6 → 35,7
dword o_bufpointer;
int cur_encoding, custom_encoding;
bool link, t_html, t_body;
dword link_bg;
dword bufpointer;
dword bufsize;
 
121,6 → 122,7
link_color_default = 0x0000FF;
link_color_active = 0xFF0000;
page_bg = 0xFFFFFF;
link_bg = 0xFFFFFF;
style.bg_color = page_bg;
DrawBuf.Fill(0, page_bg);
PageLinks.Clear();
333,6 → 335,7
t_body = tag.opened;
if (value = tag.get_value_of("link=")) link_color_default = GetColor(value);
if (value = tag.get_value_of("alink=")) link_color_active = GetColor(value);
if (value = tag.get_value_of("bglink=")) link_bg=GetColor(value);
if (value = tag.get_value_of("text=")) text_colors[0]=GetColor(value);
if (value = tag.get_value_of("bgcolor=")) {
style.bg_color = page_bg = GetColor(value);
358,9 → 361,11
{
link = true;
PageLinks.AddLink(value);
style.bg_color = link_bg;
}
} else {
link = false;
style.bg_color = page_bg;
}
return;
}
/programs/cmm/browser/WebView.c
390,12 → 390,7
EventSubmitOmnibox();
return;
case REFRESH_BUTTON:
if (http.transfer) {
StopLoading();
draw_window();
} else {
OpenPage(history.current());
}
EventRefreshPage();
return;
case CHANGE_ENCODING:
EventShowEncodingsList();
429,6 → 424,7
case CLEAR_CACHE:
pages_cache.clear();
notify(#clear_cache_ok);
EventRefreshPage();
return;
case IN_NEW_TAB:
open_new_tab = true;
811,6 → 807,16
EventOpenNewTab(history.current());
}
 
void EventRefreshPage()
{
if (http.transfer) {
StopLoading();
draw_window();
} else {
OpenPage(history.current());
}
}
 
dword GetFileSize(dword _path)
{
BDVK bdvk;
/programs/cmm/browser/texts.h
1,4 → 1,4
char version[]="WebView 2.47b";
char version[]="WebView 2.48";
 
#ifdef LANG_RUS
char page_not_found[] = FROM "html\\page_not_found_ru.htm""\0";
/programs/cmm/lib/obj/libimg.h
195,9 → 195,9
 
//NOTICE: DO NOT FORGET TO INIT libio AND libimg!!!
#ifdef LANG_RUS
#define TEXT_FILE_SAVED_AS "'” ©« á®åà ­¥­ ª ª "
#else
#define TEXT_FILE_SAVED_AS "'File saved as "
#else
#define TEXT_FILE_SAVED_AS "'” ©« á®åà ­¥­ ª ª "
#endif
:void save_image(dword _image_pointer, _w, _h, _path)
{