forked from KolibriOS/kolibrios
update libraries
git-svn-id: svn://kolibrios.org@3076 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
fa50e68311
commit
532ec0ce60
@ -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); //выводим на экран необработанный тег, так браузеры зачем-то делают
|
||||
|
@ -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)
|
||||
|
@ -137,7 +137,7 @@ inline fastcall word GetKey() //+Gluk fix
|
||||
}
|
||||
|
||||
|
||||
inline fastcall Pause( EBX)
|
||||
inline fastcall pause( EBX)
|
||||
{
|
||||
$mov eax, 5
|
||||
$int 0x40
|
||||
|
@ -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 version_scrollbar = #aVersion_scrollbar;
|
||||
|
||||
dword sc_am__ = 0x0;
|
||||
dword sc_bm__ = 0x0;
|
||||
|
Loading…
Reference in New Issue
Block a user