2012-11-26 16:26:15 +01:00
|
|
|
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
#define BACK 300
|
|
|
|
|
#define FORWARD 301
|
|
|
|
|
#define REFRESH 302
|
|
|
|
|
#define HOME 303
|
|
|
|
|
#define NEWTAB 304
|
|
|
|
|
#define GOTOURL 305
|
|
|
|
|
#define SEARCHWEB 306
|
2012-12-21 14:15:04 +01:00
|
|
|
|
#define INPUT_CH 307
|
|
|
|
|
#define INPUT_BT 308
|
2012-11-26 16:26:15 +01:00
|
|
|
|
#define ID1 178
|
|
|
|
|
#define ID2 177
|
|
|
|
|
|
|
|
|
|
#define _WIN 0
|
|
|
|
|
#define _DOS 1
|
|
|
|
|
#define _KOI 2
|
|
|
|
|
#define _UTF 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dword get_URL_part(int len) {
|
|
|
|
|
char temp1[sizeof(URL)];
|
|
|
|
|
strcpy(#temp1, #URL);
|
|
|
|
|
temp1[len] = 0x00;
|
|
|
|
|
return #temp1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
inline byte chTag(dword text) {return strcmp(#tag,text);}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void GetURLfromPageLinks(int id)
|
|
|
|
|
{
|
|
|
|
|
int i, j = 0;
|
|
|
|
|
for (i = 0; i <= id - 401; i++)
|
|
|
|
|
{
|
|
|
|
|
do
|
|
|
|
|
{
|
|
|
|
|
j++;
|
|
|
|
|
if (j>=strlen(#page_links)) return; //<2F><> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
}
|
|
|
|
|
while (page_links[j] <>'|');
|
|
|
|
|
}
|
|
|
|
|
page_links[j] = 0x00;
|
|
|
|
|
strcpy(#URL, #page_links+strrchr(#page_links, '|'));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//<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> :)
|
|
|
|
|
|
|
|
|
|
inline void Skew(dword x,y,w,h)
|
|
|
|
|
{
|
|
|
|
|
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, skin_height;
|
|
|
|
|
|
|
|
|
|
italic_buf = mem_Alloc(w*h*3);
|
|
|
|
|
skin_height = GetSkinHeight();
|
|
|
|
|
CopyScreen(italic_buf, x+Form.left+2, y+Form.top+skin_height, w, h);
|
|
|
|
|
|
|
|
|
|
FOR (i=0;i*tile_height<h;i++)
|
2013-03-11 19:16:24 +01:00
|
|
|
|
_PutImage(x+shift-i+1,i*tile_height+y, w,tile_height, w*3*tile_height*i+italic_buf);
|
2012-11-26 16:26:15 +01:00
|
|
|
|
|
|
|
|
|
mem_Free(italic_buf);
|
|
|
|
|
}
|