Subversion Repositories Kolibri OS

Rev

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

Rev 6050 Rev 6176
Line 48... Line 48...
48
	DrawRectangle3D(x+1,y+1,width-2,height-2,0xFEFEFE,col_padding);
48
	DrawRectangle3D(x+1,y+1,width-2,height-2,0xFEFEFE,col_padding);
49
	PutPixel(x+width-1, y+1, col_padding);
49
	PutPixel(x+width-1, y+1, col_padding);
50
	DrawFilledBar(x+2, y+2, width-3, height-3);
50
	DrawFilledBar(x+2, y+2, width-3, height-3);
51
	if (id) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF);
51
	if (id) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF);
52
	if (height<18) 
52
	if (height<18) {
53
		WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,system.color.work_text,text);
53
		WriteText(-strlen(text)*6+width/2+x+1,height/2+y-3,0x80,MixColors(system.color.work_text,0xFFFfff,210),text);
54
	else
54
	}
-
 
55
	else {
55
		WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,system.color.work_text,text);
56
		DrawRectangle3D(x-1,y-1,width+2,height+2,system.color.work,MixColors(system.color.work,system.color.work_graph,200));
-
 
57
		WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,MixColors(system.color.work_text,0xFFFfff,210),text);
56
}
58
	}
-
 
59
}
57
 
60
 
Line 58... Line 61...
58
void DrawFilledBar(dword x, y, w, h)
61
void DrawFilledBar(dword x, y, w, h)
59
{
62
{
60
	int i, fill_h;
63
	int i, fill_h;