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