forked from KolibriOS/kolibrios
WebView beta 4: bugfixes
git-svn-id: svn://kolibrios.org@8355 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
7fc85872d7
commit
810085e9ec
@ -160,6 +160,7 @@ csv=21
|
|||||||
xls=21
|
xls=21
|
||||||
xlsx=21
|
xlsx=21
|
||||||
nes=23
|
nes=23
|
||||||
|
sna=23
|
||||||
bat=24
|
bat=24
|
||||||
sh=24
|
sh=24
|
||||||
sys=25
|
sys=25
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
@ -124,7 +124,7 @@ void TWebBrowser::SetPageDefaults()
|
|||||||
style.tag_list.reset();
|
style.tag_list.reset();
|
||||||
link_color_default = 0x0000FF;
|
link_color_default = 0x0000FF;
|
||||||
link_color_active = 0xFF0000;
|
link_color_active = 0xFF0000;
|
||||||
page_bg = 0xFFFFFF;
|
page_bg = 0xEBE8E9; //E0E3E3 EBE8E9
|
||||||
style.bg_color = page_bg;
|
style.bg_color = page_bg;
|
||||||
DrawBuf.Fill(0, page_bg);
|
DrawBuf.Fill(0, page_bg);
|
||||||
links.clear();
|
links.clear();
|
||||||
@ -457,6 +457,7 @@ void TWebBrowser::SetStyle() {
|
|||||||
strlcpy(#img_path, value, sizeof(img_path)-1);
|
strlcpy(#img_path, value, sizeof(img_path)-1);
|
||||||
get_absolute_url(#img_path, history.current());
|
get_absolute_url(#img_path, history.current());
|
||||||
|
|
||||||
|
//if (check_is_the_adress_local(#img_path)) <== load local files
|
||||||
if (cache.has(#img_path))
|
if (cache.has(#img_path))
|
||||||
{
|
{
|
||||||
img_decode stdcall (cache.current_buf, cache.current_size, 0);
|
img_decode stdcall (cache.current_buf, cache.current_size, 0);
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
// DATA //
|
// DATA //
|
||||||
// //
|
// //
|
||||||
//===================================================//
|
//===================================================//
|
||||||
char version[]="WebView 2.8 BETA 3";
|
char version[]="WebView 2.8 BETA 4";
|
||||||
|
|
||||||
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
|
#define DEFAULT_URL URL_SERVICE_HOMEPAGE
|
||||||
|
|
||||||
@ -421,7 +421,7 @@ void EventAllTabsClick(dword _n)
|
|||||||
EventTabClose(_n);
|
EventTabClose(_n);
|
||||||
} else {
|
} else {
|
||||||
EventTabClick(_n);
|
EventTabClick(_n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EventEditSource()
|
void EventEditSource()
|
||||||
@ -451,7 +451,6 @@ void StopLoading()
|
|||||||
{
|
{
|
||||||
if (http.stop()) pause(10);
|
if (http.stop()) pause(10);
|
||||||
prbar.value = 0;
|
prbar.value = 0;
|
||||||
DrawOmnibox();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//rewrite into
|
//rewrite into
|
||||||
@ -893,6 +892,8 @@ void DrawOmnibox()
|
|||||||
void SetOmniboxText(dword _text)
|
void SetOmniboxText(dword _text)
|
||||||
{
|
{
|
||||||
edit_box_set_text stdcall (#omnibox_edit, _text);
|
edit_box_set_text stdcall (#omnibox_edit, _text);
|
||||||
|
omnibox_edit.pos = omnibox_edit.flags = 0;
|
||||||
|
DrawOmnibox();
|
||||||
}
|
}
|
||||||
|
|
||||||
dword GetAbsoluteActiveURL()
|
dword GetAbsoluteActiveURL()
|
||||||
|
@ -48,6 +48,7 @@ void _cache::clear()
|
|||||||
url.drop();
|
url.drop();
|
||||||
data.drop();
|
data.drop();
|
||||||
size.drop();
|
size.drop();
|
||||||
|
type.drop();
|
||||||
current_buf = NULL;
|
current_buf = NULL;
|
||||||
current_size = NULL;
|
current_size = NULL;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user