Rev 6566 | Rev 6678 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6566 | Rev 6649 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | PutPixel(x+width-1, y+1, col_padding); |
48 | PutPixel(x+width-1, y+1, col_padding); |
49 | DrawFilledBar(x+2, y+2, width-3, height-3); |
49 | DrawFilledBar(x+2, y+2, width-3, height-3); |
50 | if (id) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF); |
50 | if (id) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF); |
51 | if (height<18) { |
51 | if (height<18) { |
52 | WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,MixColors(system.color.work_text,0xFFFfff,210),text); |
52 | WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,0x333333,text); |
53 | } |
53 | } |
54 | else { |
54 | else { |
55 | DrawRectangle3D(x-1,y-1,width+2,height+2,system.color.work,MixColors(system.color.work,col_graph,200)); |
55 | DrawRectangle3D(x-1,y-1,width+2,height+2,system.color.work,MixColors(system.color.work,col_graph,200)); |
56 | WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,MixColors(system.color.work_text,0xFFFfff,210),text); |
56 | WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,0x333333,text); |
57 | } |
57 | } |
58 | } |
58 | } |
59 | 59 | ||
Line 60... | Line 60... | ||
60 | 60 |