Subversion Repositories Kolibri OS

Rev

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

Rev 7634 Rev 7647
Line 207... Line 207...
207
}
207
}
208
 
208
 
Line 209... Line 209...
209
void Tip(int y, dword caption, id, arrow)
209
void Tip(int y, dword caption, id, arrow)
210
{
210
{
-
 
211
	if (col.def) {
211
	DrawBar(17,y,160,1,0xEFEDEE);
212
		DrawBar(17,y,160,1,0xEFEDEE);
212
	DrawFilledBarInner(17, y+1, 160, 16);
213
		DrawFilledBarInner(17, y+1, 160, 16);
213
	WriteText(25,y+5,0x80,0x000000,caption);
-
 
214
	if (id) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //arrow button
-
 
215
	WriteText(165,y+5,0x80,0x000000,arrow); //arrow
-
 
216
	DrawBar(17,y+17,160,1,0x7E87A3);
214
		DrawBar(17,y+17,160,1,0x7E87A3);
-
 
215
	} else {
-
 
216
		DrawBar(17,y,160,1,col.graph);
-
 
217
		DrawBar(17,y+1,160,16,col.list_bg);
-
 
218
		DrawBar(17,y+17,160,1,col.graph);
-
 
219
	}
-
 
220
	WriteText(25,y+5,0x80,col.list_gb_text,caption);
-
 
221
	if (id) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //arrow button
-
 
222
	WriteText(165,y+5,0x80,col.list_gb_text,arrow); //arrow
217
}
223
}
Line 218... Line 224...
218
 
224
 
219
void ActionsDraw()
225
void ActionsDraw()
220
{
226
{
Line 242... Line 248...
242
	PutShadow(18,actions_y+75+1,158,1,1,1);
248
	PutShadow(18,actions_y+75+1,158,1,1,1);
243
	DrawBar(2,56,15,actions_y+103,col.lpanel);	          //ñèíèé ïðÿìîóãîëüíèê - ñëåâà       
249
	DrawBar(2,56,15,actions_y+103,col.lpanel);	          //ñèíèé ïðÿìîóãîëüíèê - ñëåâà       
244
	DrawBar(177,56,15,actions_y+103,col.lpanel);            //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà
250
	DrawBar(177,56,15,actions_y+103,col.lpanel);            //ñèíèé ïðÿìîóãîëüíèê - ñïðàâà
245
	area_h = Form.cheight-start_y-2 - status_bar_h;
251
	area_h = Form.cheight-start_y-2 - status_bar_h;
246
	if (col.lpanel == 0x00699C) 
252
	if (col.def) 
247
	{
253
	{
248
		if (area_h < 268){
254
		if (area_h < 268){
249
			PutPaletteImage(#blue_hl, 190, area_h, 2, start_y, 8, #blue_hl_pal);
255
			PutPaletteImage(#blue_hl, 190, area_h, 2, start_y, 8, #blue_hl_pal);
250
		} else {
256
		} else {
251
			DrawBar(2,start_y,190, area_h-268, col.lpanel);
257
			DrawBar(2,start_y,190, area_h-268, col.lpanel);
252
			PutPaletteImage(#blue_hl, 190, 268, 2, Form.cheight-270-status_bar_h, 8, #blue_hl_pal);
258
			PutPaletteImage(#blue_hl, 190, 268, 2, Form.cheight-270-status_bar_h, 8, #blue_hl_pal);