Subversion Repositories Kolibri OS

Rev

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

Rev 7359 Rev 7373
Line 506... Line 506...
506
	static dword outy;
506
	static dword outy;
507
	if (iny != NULL) outy = iny;
507
	if (iny != NULL) outy = iny;
508
	DrawFrame(right_bar.x, outy, CELL, CELL, NULL);
508
	DrawFrame(right_bar.x, outy, CELL, CELL, NULL);
509
	DrawBar(right_bar.x+2, outy+2, CELL-4, CELL-4, color1);
509
	DrawBar(right_bar.x+2, outy+2, CELL-4, CELL-4, color1);
510
	sprintf(#param, "%A", color1);
510
	sprintf(#param, "%A", color1);
511
	EDI = system.color.work;
-
 
512
	WriteText(right_bar.x + 30, outy + 3, 0xD0, system.color.work_text, #param+4);
511
	WriteTextWithBg(right_bar.x+30, outy+3, 0xD0, system.color.work_text, #param+4, system.color.work);
Line 513... Line 512...
513
 
512
 
514
	DrawFrame(right_bar.x+110, outy, CELL, CELL, NULL);
513
	DrawFrame(right_bar.x+110, outy, CELL, CELL, NULL);
515
	DrawBar(right_bar.x+110+2, outy+2, CELL-4, CELL-4, color2);
514
	DrawBar(right_bar.x+110+2, outy+2, CELL-4, CELL-4, color2);
516
	sprintf(#param, "%A", color2);
-
 
517
	EDI = system.color.work;
515
	sprintf(#param, "%A", color2);
518
	WriteText(right_bar.x+110 + 30, outy + 3, 0xD0, system.color.work_text, #param+4);	
516
	WriteTextWithBg(right_bar.x+30+110, outy+3, 0xD0, system.color.work_text, #param+4, system.color.work);	
519
	DrawCurrentColorGradientByLightness();
517
	DrawCurrentColorGradientByLightness();
Line 520... Line 518...
520
}
518
}
521
 
519