Rev 3107 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3107 | Rev 3110 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | DrawBar(x,y+1,1,height-1,color1); |
14 | DrawBar(x,y+1,1,height-1,color1); |
15 | DrawBar(x+width,y+1,1,height,color2); |
15 | DrawBar(x+width,y+1,1,height,color2); |
16 | DrawBar(x,y+height,width,1,color2); |
16 | DrawBar(x,y+height,width,1,color2); |
17 | } |
17 | } |
Line 18... | Line 18... | ||
18 | 18 | ||
19 | void DrawCaptButton(dword x,y,width,height,id,color_b, color_t,text,text_len) |
19 | void DrawCaptButton(dword x,y,width,height,id,color_b, color_t,text) |
20 | { |
20 | { |
21 | DefineButton(x,y,width,height,id,color_b); |
21 | DefineButton(x,y,width,height,id,color_b); |
22 | WriteText(-text_len*6+width/2+x+1,height/2-3+y,0x80,color_t,text); |
22 | WriteText(-strlen(text)*6+width/2+x+1,height/2-3+y,0x80,color_t,text); |
Line 23... | Line 23... | ||
23 | } |
23 | } |
24 | 24 | ||
25 | void DrawCircle(int x, y, r) |
25 | void DrawCircle(int x, y, r) |