Subversion Repositories Kolibri OS

Rev

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

Rev 7428 Rev 7462
Line 195... Line 195...
195
	ActionsDraw();
195
	ActionsDraw();
196
	DrawLeftPanelBg();
196
	DrawLeftPanelBg();
197
}
197
}
198
 
198
 
Line -... Line 199...
-
 
199
dword col_palette_inner[14] = {0xD2D3D3,0xD4D4D4,0xD6D5D6,0xD8D7D8,0xDAD8D9,0xDCDADB,
-
 
200
	0xDFDCDD,0xE1DDDE,0xE2DEE0,0xE4DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1,0xE3DFE1};
-
 
201
void DrawFilledBarInner(dword x, y, w, h)
-
 
202
{
-
 
203
	int i, fill_h;
-
 
204
	if (h <= 14) fill_h = h; else fill_h = 14;
-
 
205
	for (i=0; i
-
 
206
	DrawBar(x, y+i, w, h-fill_h, col_palette_inner[14-i]);
-
 
207
}
-
 
208
 
199
void Tip(int y, dword caption, id, arrow)
209
void Tip(int y, dword caption, id, arrow)
200
{
210
{
201
	DrawBar(17,y,160,1,0xEFEDEE);
211
	DrawBar(17,y,160,1,0xEFEDEE);
202
	DrawFilledBar(17, y+1, 160, 16);
212
	DrawFilledBarInner(17, y+1, 160, 16);
203
	WriteText(25,y+5,0x80,0x000000,caption);
213
	WriteText(25,y+5,0x80,0x000000,caption);
204
	if (id) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //arrow button
214
	if (id) DefineButton(159,y+1,16,16,id+BT_HIDE+BT_NOFRAME,0); //arrow button
205
	WriteText(165,y+5,0x80,0x000000,arrow); //arrow
215
	WriteText(165,y+5,0x80,0x000000,arrow); //arrow
206
	DrawBar(17,y+17,160,1,col_graph);
216
	DrawBar(17,y+17,160,1,0x7E87A3);
207
}
217
}
Line 208... Line 218...
208
 
218
 
209
void ActionsDraw()
219
void ActionsDraw()
210
{
220
{