Subversion Repositories Kolibri OS

Rev

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

Rev 8764 Rev 8847
Line 83... Line 83...
83
	PutPixel(x+3,y,col_pxl);
83
	PutPixel(x+3,y,col_pxl);
84
	PutPixel(x,y+3,col_pxl);
84
	PutPixel(x,y+3,col_pxl);
85
	PutPixel(x+3,y+3,col_pxl);
85
	PutPixel(x+3,y+3,col_pxl);
86
}
86
}
87
 
87
>
88
void DrawCaptButtonSmallText(dword x,y,w,h,id,color_b, color_t,text)
-
 
89
{
-
 
90
	dword tx = -strlen(text)*6+w/2+x;
-
 
91
	dword ty = h/2-3+y;
-
 
92
	DefineButton(x,y,w,h,id,color_b);
-
 
93
	WriteText(tx,ty,0x80,color_t,text);
-
 
94
}
-
 
95
>
-
 
96
88