Rev 6008 | Rev 6050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6008 | Rev 6039 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | IF (id<>0) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF); |
51 | IF (id<>0) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF); |
52 | if (height<18) |
52 | if (height<18) |
53 | WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80 ,system.color.work_text,text); |
53 | WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,system.color.work_text,text); |
54 | else |
54 | else |
55 | WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,10010000b,system.color.work_text,text); |
55 | WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,system.color.work_text,text); |
56 | 56 | } |
|
57 | } |
- | |
58 | 57 | ||
Line 59... | Line 58... | ||
59 | void DrawFilledBar(dword x, y, w, h) |
58 | void DrawFilledBar(dword x, y, w, h) |
60 | { |
59 | { |
61 | int i, fill_h; |
60 | int i, fill_h; |