2011-06-25 03:52:11 +02:00
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
#define BACK 300
|
2011-08-20 17:36:15 +02:00
|
|
|
|
#define FORWARD 301
|
|
|
|
|
#define REFRESH 302
|
2011-06-25 03:52:11 +02:00
|
|
|
|
#define HOME 303
|
2011-08-20 17:36:15 +02:00
|
|
|
|
#define NEWTAB 304
|
|
|
|
|
#define GOTOURL 305
|
2011-06-25 03:52:11 +02:00
|
|
|
|
#define SEARCHWEB 306
|
|
|
|
|
#define ID1 178
|
|
|
|
|
#define ID2 177
|
|
|
|
|
|
|
|
|
|
#define WINDOWS 0
|
|
|
|
|
#define DOS 1
|
|
|
|
|
#define KOI 2
|
|
|
|
|
#define UTF 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dword get_URL_part(byte len) {
|
|
|
|
|
char temp1[1000];
|
|
|
|
|
copystr(#URL, #temp1);
|
|
|
|
|
temp1[len] = 0x00;
|
|
|
|
|
return #temp1;
|
|
|
|
|
}
|
|
|
|
|
|
2012-03-10 10:54:53 +01:00
|
|
|
|
inline byte chTag(dword text) {return strcmp(#tag,text);}
|
|
|
|
|
|
|
|
|
|
|
2012-06-16 15:39:38 +02:00
|
|
|
|
void GetURLfromPageLinks(int id)
|
2011-08-20 17:36:15 +02:00
|
|
|
|
{
|
2012-03-10 10:54:53 +01:00
|
|
|
|
j = 0;
|
|
|
|
|
for (i = 0; i <= id - 401; i++)
|
|
|
|
|
{
|
|
|
|
|
do j++;
|
|
|
|
|
while (page_links[j] <>'|');
|
|
|
|
|
}
|
|
|
|
|
page_links[j] = 0x00;
|
|
|
|
|
copystr(#page_links[find_symbol(#page_links, '|')], #URL);
|
2011-08-20 17:36:15 +02:00
|
|
|
|
}
|
2011-06-25 03:52:11 +02:00
|
|
|
|
|
2012-03-10 10:54:53 +01:00
|
|
|
|
|
2012-06-16 15:39:38 +02:00
|
|
|
|
//<2F> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
|
|
|
|
//<2F><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
//<2F><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20> <20>.<2E>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> :)
|
2011-06-25 03:52:11 +02:00
|
|
|
|
|
|
|
|
|
inline void Skew(dword x,y,w,h)
|
|
|
|
|
{
|
2012-06-16 15:39:38 +02:00
|
|
|
|
dword italic_buf;
|
|
|
|
|
int tile_height=2, //<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
shift=-2, //<2F> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
i;
|
2011-06-25 03:52:11 +02:00
|
|
|
|
|
2012-06-16 15:39:38 +02:00
|
|
|
|
italic_buf = mem_Alloc(w*h*3);
|
2011-08-20 17:36:15 +02:00
|
|
|
|
|
2012-06-16 15:39:38 +02:00
|
|
|
|
CopyScreen(italic_buf, x+Form.left+2, GetSkinWidth()+y+Form.top, w, h);
|
2011-06-25 03:52:11 +02:00
|
|
|
|
|
2012-06-16 15:39:38 +02:00
|
|
|
|
FOR (i=0;i*tile_height<h;i++){
|
|
|
|
|
PutImage(w*3*tile_height*i+italic_buf,w,tile_height,x+shift-i+1,i*tile_height+y);
|
|
|
|
|
}
|
|
|
|
|
mem_Free(italic_buf);
|
2011-06-25 03:52:11 +02:00
|
|
|
|
}
|