Subversion Repositories Kolibri OS

Rev

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

Rev 6278 Rev 6289
Line 1... Line -...
1
dword col_palette[14] = {0xD2D3D3,0xD4D4D4,0xD6D5D6,0xD8D7D8,0xDAD8D9,0xDCDADB,
-
 
2
0xDFDCDD,0xE1DDDE,0xE2DEE0,0xE4DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1};
1
dword col_palette[14] = {0xD2D3D3,0xD4D4D4,0xD6D5D6,0xD8D7D8,0xDAD8D9,0xDCDADB,0xDFDCDD,0xE1DDDE,0xE2DEE0,0xE4DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1};
Line 3... Line 2...
3
 
2
 
4
void Scroll() {
3
void Scroll() {
Line 5... Line 4...
5
	dword i;
4
	dword i;
Line 57... Line 56...
57
		WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,MixColors(system.color.work_text,0xFFFfff,210),text);
56
		WriteText(-strlen(text)*8+width/2+x+1,height/2+y-6,0x90,MixColors(system.color.work_text,0xFFFfff,210),text);
58
	}
57
	}
59
}
58
}
60
 
59
 
Line -... Line 60...
-
 
60
 
61
void DrawFilledBar(dword x, y, w, h)
61
void DrawFilledBar(dword x, y, w, h)
62
{
62
{
63
	int i, fill_h;
63
	int i, fill_h;
64
	if (h <= 14) fill_h = h; else fill_h = 14;
64
	if (h <= 14) fill_h = h; else fill_h = 14;
65
	for (i=0; i
65
	for (i=0; i