fix for previous revision

git-svn-id: svn://kolibrios.org@4005 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-10-10 22:45:19 +00:00
parent 23b2f8b13c
commit 7b26d1f946
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
//#include "strings.h"
void DrawRectangle(dword x,y,w,h,color1)
:void DrawRectangle(dword x,y,w,h,color1)
{
if (w<=0) || (h<=0) return;
DrawBar(x,y,w,1,color1);
@ -9,7 +9,7 @@ void DrawRectangle(dword x,y,w,h,color1)
DrawBar(x+w,y,1,h+1,color1);
}
void DrawRectangle3D(dword x,y,w,h,color1,color2)
:void DrawRectangle3D(dword x,y,w,h,color1,color2)
{
if (w<=0) || (h<=0) return;
DrawBar(x,y,w+1,1,color1);
@ -18,7 +18,7 @@ void DrawRectangle3D(dword x,y,w,h,color1,color2)
DrawBar(x,y+h,w,1,color2);
}
void DrawCaptButton(dword x,y,w,h,id,color_b, color_t,text)
:void DrawCaptButton(dword x,y,w,h,id,color_b, color_t,text)
{
DefineButton(x,y,w,h,id,color_b);
WriteText(-strlen(text)*6+w/2+x+1,h/2-3+y,0x80,color_t,text);

View File

@ -19,7 +19,10 @@ int WIN_X,
int delay = 400;
#include "lang.h--"
#ifndef AUTOBUILD
#include "lang.h--"
#endif
#ifdef LANG_RUS
?define DEFAULT_TEXT "<EFBFBD>â  ¯à®£à ¬¬  ¯®ª §ë¢ ¥â 㢥¤®¬«¥­¨ï.";
#else