diff --git a/programs/network/htmlv/lib/kolibri.h-- b/programs/network/htmlv/lib/kolibri.h--
index 191457397a..55e4607141 100644
--- a/programs/network/htmlv/lib/kolibri.h--
+++ b/programs/network/htmlv/lib/kolibri.h--
@@ -159,6 +159,14 @@ inline fastcall Pause(dword EBX)
//------------------------------------------------------------------------------
+//eax = ÿçûê ñèñòåìû (1=eng, 2=fi, 3=ger, 4=rus)
+inline fastcall int GetSystemLanguage(){
+ EAX = 26;
+ EBX = 5;
+ $int 0x40
+ RETURN EAX;
+}
+
inline fastcall void DrawTitle(dword ECX)
{
EAX = 71;
@@ -219,6 +227,7 @@ l1:
$jnz l1
}
+
byte fastcall TestBit(EAX, CL)
{
$shr eax,cl
@@ -372,6 +381,22 @@ dword Hex2Symb(char* htmlcolor)
AL=symbol;
}
+/*int hex2char(char c)
+{
+ if (c <=9)
+ return (c+48);
+
+ return (c - 10 + 'a');
+}
+
+int hex2char(dword c)
+{
+ if (c <=9)
+ return (c+48);
+
+ return (c - 10 + 'a');
+}*/
+
byte mas[66] = "î ¡æ¤¥ä£å¨©ª«¬®¯ïàáâ㦢ìë§èíéçꞀ–„…”ƒ•ˆ‰Š‹ŒŽŸ‘’“†‚œ›‡˜™—š";
inline fastcall void koitodos(dword EDI)
{
@@ -532,7 +557,7 @@ inline fastcall void DeleteButton(dword EDX)
$int 0x40;
}
-void DrawRegion(dword x,y,width,height,color1)
+:void DrawRegion(dword x,y,width,height,color1)
{
DrawBar(x,y,width,1,color1); //¯®«®á £®à ᢥàåã
DrawBar(x,y+height,width,1,color1); //¯®«®á £®à ᨧã
@@ -540,7 +565,7 @@ void DrawRegion(dword x,y,width,height,color1)
DrawBar(x+width,y,1,height+1,color1); //¯®«®á ¢¥àåã á¯à ¢
}
-void DrawRegion_3D(dword x,y,width,height,color1,color2)
+:void DrawRegion_3D(dword x,y,width,height,color1,color2)
{
DrawBar(x,y,width+1,1,color1); //¯®«®á £®à ᢥàåã
DrawBar(x,y+1,1,height-1,color1); //¯®«®á á«¥¢
@@ -557,7 +582,7 @@ void DrawFlatButton(dword x,y,width,height,id,color,text)
WriteText(-strlen(text)*6+width/2+x+1,height/2-3+y,0x80,0,text,0);
}
-void DrawCircle(int x, y, r)
+:void DrawCircle(int x, y, r)
{
int i; float px=0, py=r, ii = r * 3.1415926 * 2;
FOR (i = 0; i < ii; i++)