Subversion Repositories Kolibri OS

Rev

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

Rev 7462 Rev 7491
Line 77... Line 77...
77
	PutPixel(x+3,y,col_pxl);
77
	PutPixel(x+3,y,col_pxl);
78
	PutPixel(x,y+3,col_pxl);
78
	PutPixel(x,y+3,col_pxl);
79
	PutPixel(x+3,y+3,col_pxl);
79
	PutPixel(x+3,y+3,col_pxl);
80
}
80
}
81
>
81
 
82
82
:void DrawCaptButtonSmallText(dword x,y,w,h,id,color_b, color_t,text)
-
 
83
{
-
 
84
	dword tx = -strlen(text)*6+w/2+x;
-
 
85
	dword ty = h/2-3+y;
-
 
86
	DefineButton(x,y,w,h,id,color_b);
-
 
87
	WriteText(tx,ty,0x80,color_t,text);
-
 
88
}
-
 
89
>
-
 
90
83
91