Subversion Repositories Kolibri OS

Rev

Rev 7634 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7634 Rev 7806
Line 2... Line 2...
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, col.odd_line);
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,sc.work_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, sc.work_light);
9
 
9
 
Line 10... Line 10...
10
	DrawFlatButtonSmall(PathShow.start_x+PathShow.area_size_x,PathShow.start_y-7,18,20, 61, "\26");
10
	DrawFlatButtonSmall(PathShow.start_x+PathShow.area_size_x,PathShow.start_y-7,18,20, 61, "\26");
Line 11... Line 11...
11
 
11
 
12
	PathShow.background_color = col.odd_line;
12
	PathShow.background_color = col.odd_line;
Line 44... Line 44...
44
	}
44
	}
45
	//DrawFavButton(btn.x);
45
	//DrawFavButton(btn.x);
46
	//btn.x+=20;
46
	//btn.x+=20;
47
	btn.x++;
47
	btn.x++;
48
	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,sc.work);
49
}
49
}
50
 
50
 
Line 51... Line 51...
51
 
51
 
52
void ClickOnBreadCrumb(unsigned clickid)
52
void ClickOnBreadCrumb(unsigned clickid)
Line 62... Line 62...
62
 
62
 
63
void DrawBreadcrumbButton(dword x,y,w,h,id,text)
63
void DrawBreadcrumbButton(dword x,y,w,h,id,text)
64
{
64
{
65
	int i;
65
	int i;
66
	DrawRectangle(x,y,w,h,col.graph);
66
	DrawRectangle(x,y,w,h,sc.work_graph);
67
	for (i=0; (i
67
	for (i=0; (i
68
	DrawRectangle3D(x+1,y+1,w-2,h-2,system.color.work_light, system.color.work_dark);
68
	DrawRectangle3D(x+1,y+1,w-2,h-2,sc.work_light, sc.work_dark);
69
	DefineHiddenButton(x+1,y+1,w-2,h-2,id);
69
	DefineHiddenButton(x+1,y+1,w-2,h-2,id);
70
	WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,system.color.work_text,text);
70
	WriteText(-strlen(text)*8+w/2+x,h/2+y-7,0x90,sc.work_text,text);
71
	DrawBar(x, y+h+1, w+1, 1, system.color.work_light);
71
	DrawBar(x, y+h+1, w+1, 1, sc.work_light);
72
}
72
}