Subversion Repositories Kolibri OS

Rev

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

Rev 7244 Rev 7373
Line 60... Line 60...
60
	#define SIZE 14
60
	#define SIZE 14
61
	if (!id) id = GetFreeButtonId();
61
	if (!id) id = GetFreeButtonId();
62
	x=_x; y=_y;
62
	x=_x; y=_y;
Line 63... Line 63...
63
 
63
 
64
	DefineButton(x-1, y-1, strlen(text)*8 + SIZE + 17, SIZE+2, id+BT_HIDE+BT_NOFRAME, 0);
-
 
65
	EDI = system.color.work;
64
	DefineButton(x-1, y-1, strlen(text)*8 + SIZE + 17, SIZE+2, id+BT_HIDE+BT_NOFRAME, 0);
66
	WriteText(x+SIZE+8, SIZE / 2 + y -7, 0xD0, system.color.work_text, text);
65
	WriteTextWithBg(x+SIZE+8, SIZE / 2 + y -7, 0xD0, system.color.work_text, text, system.color.work);
67
	DrawRectangle(x, y, SIZE, SIZE, system.color.work_graph);
66
	DrawRectangle(x, y, SIZE, SIZE, system.color.work_graph);
68
	if (checked == 0)
67
	if (checked == 0)
69
	{
68
	{
70
		DrawRectangle3D(x+1, y+1, SIZE-2, SIZE-2, 0xDDDddd, 0xffffff);
69
		DrawRectangle3D(x+1, y+1, SIZE-2, SIZE-2, 0xDDDddd, 0xffffff);