14,10 → 14,10 |
DrawBar(x,y+height,width,1,color2); |
} |
|
void DrawCaptButton(dword x,y,width,height,id,color,text,text_len) |
void DrawCaptButton(dword x,y,width,height,id,color_b, color_t,text,text_len) |
{ |
DefineButton(x,y,width,height,id+BT_HIDE,0xEFEBEF); |
WriteText(-text_len*6+width/2+x+1,height/2-3+y,0x80,0,text,0); |
DefineButton(x,y,width,height,id,color_b); |
WriteText(-text_len*6+width/2+x+1,height/2-3+y,0x80,color_t,text,0); |
} |
|
void DrawCircle(int x, y, r) |
30,4 → 30,4 |
px = py / r + px; |
py = -px / r + py; |
} |
} |
} |