From ba3c0ea5009f8e4119a3743edf138579c46dd27b Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 12 Feb 2016 22:07:55 +0000 Subject: [PATCH] small fixes git-svn-id: svn://kolibrios.org@6209 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/lib/gui.h | 5 +++-- programs/system/skincfg/trunk/idata.inc | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/programs/cmm/lib/gui.h b/programs/cmm/lib/gui.h index b76c9434cf..fd2a4b15aa 100644 --- a/programs/cmm/lib/gui.h +++ b/programs/cmm/lib/gui.h @@ -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); diff --git a/programs/system/skincfg/trunk/idata.inc b/programs/system/skincfg/trunk/idata.inc index 0ad643e34c..4409dd77c9 100644 --- a/programs/system/skincfg/trunk/idata.inc +++ b/programs/system/skincfg/trunk/idata.inc @@ -5,7 +5,7 @@ if lang eq ru db ' UNUSED2 ' db ' 3D ’…Œ€Ÿ ‘’ŽŽ€ ' db ' 3D ‘‚…’‹€Ÿ ‘’ŽŽ€ ' - db ' UNUSED3 ' + db ' ‡€ƒŽ‹Ž‚ŽŠ ŽŠ€ ' db ' €Ž—€Ÿ Ž‹€‘’œ ' db ' ŠŽŠ€ ‚ €Ž—…‰ Ž‹€‘’ˆ ' db ' ’…Š‘’ € ŠŽŠ… ' @@ -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 '