forked from KolibriOS/kolibrios
63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define BACK 300
|
|||
|
#define FORWARD 301
|
|||
|
#define REFRESH 302
|
|||
|
#define HOME 303
|
|||
|
#define GOTOURL 305
|
|||
|
#define SEARCHWEB 306
|
|||
|
#define ID1 178
|
|||
|
#define ID2 177
|
|||
|
|
|||
|
#define WINDOWS 0
|
|||
|
#define DOS 1
|
|||
|
#define KOI 2
|
|||
|
#define UTF 3
|
|||
|
|
|||
|
#define DONT_LOAD 0
|
|||
|
#define LETS_LOAD 1
|
|||
|
|
|||
|
byte utf100tmmv_mas[77] = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>h<EFBFBD>si\244j";
|
|||
|
|
|||
|
|
|||
|
dword get_URL_part(byte len) {
|
|||
|
char temp1[1000];
|
|||
|
copystr(#URL, #temp1);
|
|||
|
temp1[len] = 0x00;
|
|||
|
return #temp1;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
inline byte chTag(dword text) {return strcmp(#tag,text);}
|
|||
|
|
|||
|
//<2F> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>⮢, <20><><EFBFBD>⮬<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>
|
|||
|
//<2F><><EFBFBD><EFBFBD>祪 <20><><EFBFBD> <20><><EFBFBD><E0AEA6><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>⥫쭮<E2A5AB> १<><E0A5A7><EFBFBD><EFBFBD>:
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>࠭<EFBFBD> <20> <20>뢮<EFBFBD><EBA2AE><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>⭮ <20><><EFBFBD><EFBFBD>᪠<EFBFBD><E1AAA0> <20><> ᬥ饭<E1ACA5><E9A5AD><EFBFBD>,
|
|||
|
//<2F><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>४<EFBFBD><E0A5AA> <20><><EFBFBD>⨭<EFBFBD><E2A8AD>
|
|||
|
//<2F><><EFBFBD> <20><><EFBFBD><EFBFBD>稨 䮭<> <20> <20>.<2E>. <20><><EFBFBD><EFBFBD><EFA2A8><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>쭮<EFBFBD><ECADAE><EFBFBD> <20><>襭<EFBFBD><E8A5AD> :)
|
|||
|
|
|||
|
//<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 㦥 <20><><EFBFBD><EFBFBD>祭<EFBFBD> <20> TBW - skin_width, Form.top, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>祭<EFBFBD><E7A5AD> memory
|
|||
|
inline void Skew(dword x,y,w,h)
|
|||
|
{
|
|||
|
dword italic_buf;
|
|||
|
int tile_height=2,//<2F>㤥<EFBFBD> <20>뢮<EFBFBD><EBA2AE><EFBFBD><EFBFBD> <20><><EFBFBD>寨<EFBFBD>ᥫ<EFBFBD><E1A5AB>묨 <20><><EFBFBD><EFBFBD>᪠<EFBFBD><E1AAA0>
|
|||
|
i, skin_width,
|
|||
|
shift=-2;
|
|||
|
|
|||
|
skin_width = GetSkinWidth();
|
|||
|
Form.GetInfo(SelfInfo);
|
|||
|
italic_buf = malloc(w*h*3);
|
|||
|
//ebx = 㪠<><E3AAA0>⥫<EFBFBD> <20><> <20>।<EFBFBD><E0A5A4><EFBFBD><EFBFBD>⥫쭮 <20>뤥<EFBFBD><EBA4A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>㤠 <20>㤥<EFBFBD> <20><><EFBFBD><EFBFBD>饭<EFBFBD> <20><><EFBFBD><EFBFBD>ࠦ<EFBFBD><E0A0A6><EFBFBD><EFBFBD> <20> <20><>ଠ<EFBFBD><E0ACA0> BBGGRRBBGGRR...
|
|||
|
EBX = italic_buf;
|
|||
|
//ecx = [ࠧ<><E0A0A7><EFBFBD> <20><> <20><><EFBFBD> x]*65536 + [ࠧ<><E0A0A7><EFBFBD> <20><> <20><><EFBFBD> y]
|
|||
|
ECX = w * 65536 + h;
|
|||
|
//edx = [<5B><><EFBFBD>न<EFBFBD><E0A4A8><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> x]*65536 + [<5B><><EFBFBD>न<EFBFBD><E0A4A8><EFBFBD><EFBFBD> <20><> <20><><EFBFBD> y]
|
|||
|
EDX = x + Form.left * 65536 + y + Form.top + skin_width;
|
|||
|
EAX = 36;
|
|||
|
$int 0x40;
|
|||
|
|
|||
|
FOR (i=0;i*tile_height<h;i++){
|
|||
|
PutImage(w*3*tile_height*i+italic_buf,w,tile_height,x+shift-i,i*tile_height+y);
|
|||
|
}
|
|||
|
free(italic_buf);
|
|||
|
}
|