Rev 7462 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7462 | Rev 7634 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
1 | PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
2 | void DrawPathBar() |
2 | void DrawPathBar() |
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, col.odd_line); |
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 | DefineHiddenButton(PathShow.start_x-4+1,PathShow.start_y-7+1,PathShow.area_size_x+4-2,20-2,PATH_BTN); |
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+5+18, 1, system.color.work_light); |
8 | DrawBar(PathShow.start_x-4, PathShow.start_y+14, PathShow.area_size_x+5+18, 1, system.color.work_light); |
Line 9... | Line 9... | ||
9 | 9 | ||
Line -... | Line 10... | ||
- | 10 | DrawFlatButtonSmall(PathShow.start_x+PathShow.area_size_x,PathShow.start_y-7,18,20, 61, "\26"); |
|
- | 11 | ||
10 | DrawFlatButtonSmall(PathShow.start_x+PathShow.area_size_x,PathShow.start_y-7,18,20, 61, "\26"); |
12 | PathShow.background_color = col.odd_line; |
11 | 13 | PathShow.font_color = col.list_gb_text; |
|
12 | PathShow_prepare stdcall(#PathShow); |
14 | PathShow_prepare stdcall(#PathShow); |
Line 13... | Line 15... | ||
13 | PathShow_draw stdcall(#PathShow); |
15 | PathShow_draw stdcall(#PathShow); |
Line 42... | Line 44... | ||
42 | } |
44 | } |
43 | //DrawFavButton(btn.x); |
45 | //DrawFavButton(btn.x); |
44 | //btn.x+=20; |
46 | //btn.x+=20; |
45 | btn.x++; |
47 | btn.x++; |
46 | DrawBar(btn.x,btn.y-1,Form.cwidth-btn.x-25,btn.h+3,col_work); |
48 | DrawBar(btn.x,btn.y-1,Form.cwidth-btn.x-25,btn.h+3,col.work); |
47 | } |
49 | } |
48 | 50 | ||
Line 49... | Line 51... | ||
49 | 51 | ||
50 | void ClickOnBreadCrumb(unsigned clickid) |
52 | void ClickOnBreadCrumb(unsigned clickid) |
Line 57... | Line 59... | ||
57 | Open_Dir(#path,WITH_REDRAW); |
59 | Open_Dir(#path,WITH_REDRAW); |
58 | } |
60 | } |
59 | 61 | ||
Line 60... | Line -... | ||
60 | - | ||
61 | dword col_palette_br[14] = {0xFFFfff,0xF3EDF0,0xF3EDF0,0xF3EDF0,0xF3EDF0, |
- | |
62 | 0xF2EBEF,0xF2EBEF, |
- | |
63 | 0xF0EAEC,0xEFE9EB,0xEDE6E9,0xEAE6E8,0xE9E4E6,0xE5E0E3,0xE3DDDE,0xE0DBDB, |
- | |
64 | 0xDFDADA,0xDBD9DA,0xD2D0D2,0xC2C6C6}; |
62 | |
65 | void DrawBreadcrumbButton(dword x,y,w,h,id,text) |
63 | void DrawBreadcrumbButton(dword x,y,w,h,id,text) |
66 | { |
64 | { |
67 | int i; |
65 | int i; |
68 | DrawRectangle(x,y,w,h,col_graph); |
66 | DrawRectangle(x,y,w,h,col.graph); |
- | 67 | for (i=0; (i |
|
69 | for (i=0; i |
68 | DrawRectangle3D(x+1,y+1,w-2,h-2,system.color.work_light, system.color.work_dark); |
70 | DefineHiddenButton(x+1,y+1,w-2,h-2,id); |
69 | DefineHiddenButton(x+1,y+1,w-2,h-2,id); |
71 | WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,0x444444,text); |
70 | WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,system.color.work_text,text); |
72 | DrawBar(x, y+h+1, w+1, 1, MixColors(col_work,0xFFFfff,120)); |
71 | DrawBar(x, y+h+1, w+1, 1, system.color.work_light); |
73 | }50;> |
72 | }20);>50;> |