update libraries

git-svn-id: svn://kolibrios.org@3076 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-12-05 15:25:01 +00:00
parent fa50e68311
commit 532ec0ce60
5 changed files with 23 additions and 23 deletions

View File

@ -78,10 +78,10 @@ unsigned char GetUnicodeSymbol()
}
}
rez = atoi(#tag + 1) - 1040;
if (tag[1] == '1') && (rez>=0) && (rez<=72) && (strlen(#tag) == 5)
j = atoi(#tag + 1) - 1040;
if (tag[1] == '1') && (j>=0) && (j<=72) && (strlen(#tag) == 5)
{
return unicode_chars[rez];
return unicode_chars[j];
}
strcat(#line,#tag); //выводим на экран необработанный тег, так браузеры зачем-то делают

View File

@ -2,8 +2,8 @@
dword boxlib = #aEdit_box_lib; //Asper
char aEdit_box_lib[22]="/sys/lib/box_lib.obj\0"; //Asper
dword edit_box_draw = #aEdit_box_draw;
dword edit_box_key = #aEdit_box_key;
dword edit_box_draw = #aEdit_box_draw;
dword edit_box_key = #aEdit_box_key;
dword edit_box_mouse = #aEdit_box_mouse;
dword version_ed = #aVersion_ed;

View File

@ -14,10 +14,10 @@ void DrawRectangle3D(dword x,y,width,height,color1,color2)
DrawBar(x,y+height,width,1,color2);
}
void DrawCaptButton(dword x,y,width,height,id,color,text,text_len)
void DrawCaptButton(dword x,y,width,height,id,color_b, color_t,text,text_len)
{
DefineButton(x,y,width,height,id+BT_HIDE,0xEFEBEF);
WriteText(-text_len*6+width/2+x+1,height/2-3+y,0x80,0,text,0);
DefineButton(x,y,width,height,id,color_b);
WriteText(-text_len*6+width/2+x+1,height/2-3+y,0x80,color_t,text,0);
}
void DrawCircle(int x, y, r)
@ -30,4 +30,4 @@ void DrawCircle(int x, y, r)
px = py / r + px;
py = -px / r + py;
}
}
}

View File

@ -137,7 +137,7 @@ inline fastcall word GetKey() //+Gluk fix
}
inline fastcall Pause( EBX)
inline fastcall pause( EBX)
{
$mov eax, 5
$int 0x40

View File

@ -1,20 +1,20 @@
//lev
//:dword boxlib = #abox_lib;
:char abox_lib[]="/sys/lib/box_lib.obj";
char abox_lib[]="/sys/lib/box_lib.obj";
:char aboxlib_init[] = "lib_init";
:char aScrollbar_v_draw = "scrollbar_v_draw";
:char aScrollbar_v_mouse = "scrollbar_v_mouse";
:char aScrollbar_h_draw = "scrollbar_h_draw";
:char aScrollbar_h_mouse = "scrollbar_h_mouse";
:char aVersion_scrollbar = "version_scrollbar";
char aboxlib_init[] = "lib_init";
char aScrollbar_v_draw[] = "scrollbar_v_draw";
char aScrollbar_v_mouse[] = "scrollbar_v_mouse";
char aScrollbar_h_draw[] = "scrollbar_h_draw";
char aScrollbar_h_mouse[] = "scrollbar_h_mouse";
char aVersion_scrollbar[] = "version_scrollbar";
dword boxlib_init = #aboxlib_init;
dword scrollbar_v_draw = #aScrollbar_v_draw;
dword scrollbar_v_mouse = #aScrollbar_v_mouse;
dword scrollbar_h_draw = #aScrollbar_h_draw;
dword scrollbar_h_mouse = #aScrollbar_h_mouse;
:dword version_scrollbar = #aVersion_scrollbar;
dword boxlib_init = #aboxlib_init;
dword scrollbar_v_draw = #aScrollbar_v_draw;
dword scrollbar_v_mouse = #aScrollbar_v_mouse;
dword scrollbar_h_draw = #aScrollbar_h_draw;
dword scrollbar_h_mouse = #aScrollbar_h_mouse;
dword version_scrollbar = #aVersion_scrollbar;
dword sc_am__ = 0x0;
dword sc_bm__ = 0x0;