Subversion Repositories Kolibri OS

Rev

Rev 4686 | Rev 5463 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4686 Rev 4846
Line 18... Line 18...
18
	DrawBar(x,y+h,w,1,color2);
18
	DrawBar(x,y+h,w,1,color2);
19
}
19
}
Line 20... Line 20...
20
 
20
 
21
:void DrawCaptButton(dword x,y,w,h,id,color_b, color_t,text)
21
:void DrawCaptButton(dword x,y,w,h,id,color_b, color_t,text)
22
{
22
{
23
	DefineButton(x,y,w,h,id,color_b);
23
	if (id>0) DefineButton(x,y,w,h,id,color_b);
24
	WriteText(-strlen(text)*6+w/2+x+1,h/2-3+y,0x80,color_t,text);
24
	WriteText(-strlen(text)*6+w/2+x+1,h/2-3+y,0x80,color_t,text);
Line -... Line 25...
-
 
25
}
-
 
26
 
-
 
27
:void WriteTextCenter(dword x,y,w,color_t,text)
-
 
28
{
-
 
29
	WriteText(-strlen(text)*6+w/2+x+1,y,0x80,color_t,text);
25
}
30
}
26
 
31
 
27
:void DrawCircle(int x, y, r)
32
:void DrawCircle(int x, y, r)
28
{
33
{
29
	int i;
34
	int i;