/programs/cmm/lib/figures.h |
---|
20,10 → 20,15 |
:void DrawCaptButton(dword x,y,w,h,id,color_b, color_t,text) |
{ |
DefineButton(x,y,w,h,id,color_b); |
if (id>0) DefineButton(x,y,w,h,id,color_b); |
WriteText(-strlen(text)*6+w/2+x+1,h/2-3+y,0x80,color_t,text); |
} |
:void WriteTextCenter(dword x,y,w,color_t,text) |
{ |
WriteText(-strlen(text)*6+w/2+x+1,y,0x80,color_t,text); |
} |
:void DrawCircle(int x, y, r) |
{ |
int i; |
/programs/cmm/lib/list_box.h |
---|
50,7 → 50,7 |
line_h = line_hh; |
text_y = line_hh / 2 - 4; |
visible = h / line_h; |
if (visible > count) visible=count; |
//if (visible > count) visible=count; |
} |