forked from KolibriOS/kolibrios
WebView: disable test code
git-svn-id: svn://kolibrios.org@5982 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9497d50e2f
commit
6fb75b40c2
@ -260,10 +260,11 @@ void SetElementSizes()
|
|||||||
if (WB1.list.w!=WB1.DrawBuf.bufw) WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.h * 30);
|
if (WB1.list.w!=WB1.DrawBuf.bufw) WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.h * 30);
|
||||||
}
|
}
|
||||||
|
|
||||||
int list__w;
|
|
||||||
|
|
||||||
void Draw_Window()
|
void Draw_Window()
|
||||||
{
|
{
|
||||||
|
int list__w;
|
||||||
DrawBar(0,0, Form.cwidth,TOOLBAR_H-2, panel_color);
|
DrawBar(0,0, Form.cwidth,TOOLBAR_H-2, panel_color);
|
||||||
DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, 0xD7D0D3);
|
DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, 0xD7D0D3);
|
||||||
DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, border_color);
|
DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, border_color);
|
||||||
@ -281,6 +282,7 @@ void Draw_Window()
|
|||||||
DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, scroll_wv.bckg_col);
|
DrawRectangle(scroll_wv.start_x, scroll_wv.start_y, scroll_wv.size_x, scroll_wv.size_y-1, scroll_wv.bckg_col);
|
||||||
DrawProgress();
|
DrawProgress();
|
||||||
|
|
||||||
|
/*
|
||||||
list__w = 200;
|
list__w = 200;
|
||||||
font.buffer_size = 0;
|
font.buffer_size = 0;
|
||||||
font.size.height = 200;
|
font.size.height = 200;
|
||||||
@ -295,6 +297,7 @@ void Draw_Window()
|
|||||||
font.prepare_buf(11,40,list__w,font.size.height, "Fine");
|
font.prepare_buf(11,40,list__w,font.size.height, "Fine");
|
||||||
SmoothFont(font.buffer, font.size.width, font.size.height);
|
SmoothFont(font.buffer, font.size.width, font.size.height);
|
||||||
_PutImage(0,0,list__w,font.size.height,font.buffer);
|
_PutImage(0,0,list__w,font.size.height,font.buffer);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -372,16 +375,7 @@ void Scan(dword id__)
|
|||||||
strlcpy(#DL_URL, "http://",7);
|
strlcpy(#DL_URL, "http://",7);
|
||||||
CreateThread(#Downloader,#downloader_stak+4092);
|
CreateThread(#Downloader,#downloader_stak+4092);
|
||||||
}
|
}
|
||||||
return; /*
|
|
||||||
case 020:
|
|
||||||
case NEWTAB:
|
|
||||||
MoveSize(190,80,OLD,OLD);
|
|
||||||
RunProgram(#program_path, #URL);
|
|
||||||
return;
|
return;
|
||||||
case SEARCHWEB_BUTTON:
|
|
||||||
sprintf(#URL,"%s%s",#search_path,#editURL);
|
|
||||||
OpenPage();
|
|
||||||
return; */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user