/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); |