small fixes

git-svn-id: svn://kolibrios.org@6209 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2016-02-12 22:07:55 +00:00
parent efbe3e0a39
commit ba3c0ea500
2 changed files with 6 additions and 5 deletions

View File

@ -43,8 +43,9 @@
:void DrawCaptButton(dword x,y,w,h,id,color_b, color_t,text)
{
word tx = -strlen(text)*9+w/2+x+1;
word ty = h/2-7+y;
dword tx = -strlen(text)*8+w/2+x;
dword ty = h/2-7+y;
if (id>0) DefineButton(x,y,w,h,id,color_b);
WriteText(tx+1,ty+1,0x90,MixColors(color_b,0,230),text);
WriteText(tx,ty,0x90,color_t,text);

View File

@ -5,7 +5,7 @@ if lang eq ru
db ' UNUSED2 '
db ' 3D …Œ<E280A6>€Ÿ Ž<E28099>Ž<EFBFBD>€ '
db ' 3D ‘‚…’‹€Ÿ Ž<E28099>Ž<EFBFBD>€ '
db ' UNUSED3 '
db ' ‡€ƒŽ‹Ž‚ŽŠ ŽŠ<C5BD> '
db ' <20><EFBFBD>Ž—€Ÿ Ž<>œ '
db ' Š<>Ž<EFBFBD>Š€ <20><EFBFBD>Ž—…‰ Ž<>ˆ '
db ' ’…Š‘’ <20>€ Š<>Ž<EFBFBD>Š… '
@ -17,7 +17,7 @@ else if lang eq et
db ' UNUSED2 '
db ' WORK 3D DARK '
db ' WORK 3D LIGHT '
db ' UNUSED3 '
db ' AKNA PEALKIRI '
db ' AKNA TÖÖPIIRKOND '
db ' AKNA TÖÖPIIRKONNA NUPP '
db ' AKNA TÖÖPIIRKONNA NUPPU TEKST '
@ -29,7 +29,7 @@ else
db ' UNUSED2 '
db ' WORK 3D DARK '
db ' WORK 3D LIGHT '
db ' UNUSED3 '
db ' WINDOW TITLE '
db ' WORK AREA BACKGROUND '
db ' WORK AREA BUTTON '
db ' WORK AREA BUTTON TEXT '