Subversion Repositories Kolibri OS

Rev

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

Rev 9597 Rev 9602
Line 128... Line 128...
128
	if (skin_is_dark()) 
128
	if (skin_is_dark()) 
129
	{
129
	{
130
		//dark colors
130
		//dark colors
131
		swc.list_bg = sc.work;
131
		swc.list_bg = sc.work;
132
	 	swc.text = sc.work_text;
132
	 	swc.text = sc.work_text;
133
	 	swc.dark = sc.work_dark;
133
	 	swc.dark = sc.dark;
134
	 	swc.light = sc.work_light;
134
	 	swc.light = sc.light;
135
	} else {
135
	} else {
136
		//light colors
136
		//light colors
137
		swc.list_bg = 0xF3F3F3;
137
		swc.list_bg = 0xF3F3F3;
138
	 	swc.text = 0x000000;
138
	 	swc.text = 0x000000;
139
	 	swc.dark = 0xDCDCDC;
139
	 	swc.dark = 0xDCDCDC;
Line 223... Line 223...
223
}
223
}
Line 224... Line 224...
224
 
224
 
225
void DrawTopBar()
225
void DrawTopBar()
226
{
226
{
227
	DrawBar(0,0,Form.cwidth, list.y-2, sc.work);
227
	DrawBar(0,0,Form.cwidth, list.y-2, sc.work);
228
	DrawBar(0,list.y-2, Form.cwidth, 1, MixColors(sc.work, sc.work_graph, 180));
228
	DrawBar(0,list.y-2, Form.cwidth, 1, MixColors(sc.work, sc.line, 180));
229
	DrawBar(0,list.y-1, Form.cwidth, 1, sc.work_graph);
229
	DrawBar(0,list.y-1, Form.cwidth, 1, sc.line);
230
	kfont.WriteIntoWindowCenter(0,5, Form.cwidth, list.y, sc.work, sc.work_text, 16, #window_title);
230
	kfont.WriteIntoWindowCenter(0,5, Form.cwidth, list.y, sc.work, sc.work_text, 16, #window_title);
Line 231... Line 231...
231
}
231
}
232
 
232