Rev 7227 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7227 | Rev 7422 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | { |
3 | { |
4 | PathShow.area_size_x = Form.cwidth-300; |
4 | PathShow.area_size_x = Form.cwidth-300; |
5 | DrawBar(PathShow.start_x-3, PathShow.start_y-6, PathShow.area_size_x+3, 19, 0xFFFfff); |
5 | DrawBar(PathShow.start_x-3, PathShow.start_y-6, PathShow.area_size_x+3, 19, 0xFFFfff); |
6 | DrawRectangle(PathShow.start_x-4,PathShow.start_y-7,PathShow.area_size_x+4,20,col_graph); |
6 | DrawRectangle(PathShow.start_x-4,PathShow.start_y-7,PathShow.area_size_x+4,20,col_graph); |
7 | DrawBar(PathShow.start_x-4, PathShow.start_y+14, PathShow.area_size_x+4, 1, MixColors(col_work,0xFFFfff,120)); |
7 | DefineHiddenButton(PathShow.start_x-4+1,PathShow.start_y-7+1,PathShow.area_size_x+4-2,20-2,PATH_BTN); |
- | 8 | DrawBar(PathShow.start_x-4, PathShow.start_y+14, PathShow.area_size_x+4, 1, MixColors(col_work,0xFFFfff,120)); |
|
8 | DrawFavButton(PathShow.start_x+PathShow.area_size_x); |
9 | DrawFavButton(PathShow.start_x+PathShow.area_size_x); |
9 | PathShow_prepare stdcall(#PathShow); |
10 | PathShow_prepare stdcall(#PathShow); |
10 | PathShow_draw stdcall(#PathShow); |
11 | PathShow_draw stdcall(#PathShow); |
11 | } |
12 | } |
12 | 13 | ||
Line 63... | Line 64... | ||
63 | { |
64 | { |
64 | int i; |
65 | int i; |
65 | DrawRectangle(x,y,w,h,col_graph); |
66 | DrawRectangle(x,y,w,h,col_graph); |
66 | for (i=0; i |
67 | for (i=0; i |
67 | DefineButton(x+1,y+1,w-2,h-2,id+BT_HIDE,0xEFEBEF); |
68 | DefineHiddenButton(x+1,y+1,w-2,h-2,id); |
68 | WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,0x444444,text); |
69 | WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,0x444444,text); |
69 | DrawBar(x, y+h+1, w+1, 1, MixColors(col_work,0xFFFfff,120)); |
70 | DrawBar(x, y+h+1, w+1, 1, MixColors(col_work,0xFFFfff,120)); |
70 | }50;> |
71 | }50;> |
71 | 72 | ||
72 | 73 |