Subversion Repositories Kolibri OS

Rev

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

Rev 7613 Rev 7806
Line 98... Line 98...
98
					Draw_Count();
98
					Draw_Count();
99
			}
99
			}
100
			break;
100
			break;
Line 101... Line 101...
101
 
101
 
102
		case evReDraw:
102
		case evReDraw:
103
			system.color.get();
103
			sc.get();
104
			DefineAndDrawWindow(215,100,CELL_SIZE+4*10 + 4 + 9,PANEL_Y+4+PANEL_H+skin_height,
104
			DefineAndDrawWindow(215,100,CELL_SIZE+4*10 + 4 + 9,PANEL_Y+4+PANEL_H+skin_height,
105
				0x34,0xC0C0C0,"Memory Blocks",0);
105
				0x34,0xC0C0C0,"Memory Blocks",0);
106
			GetProcessInfo(#Form, SelfInfo);
106
			GetProcessInfo(#Form, SelfInfo);
107
			Draw_Panel();
107
			Draw_Panel();
Line 185... Line 185...
185
	DrawBar(x + 3, y + 3, CELL_SIZE-5, CELL_SIZE-5, COLOR_CELL_BG);//background
185
	DrawBar(x + 3, y + 3, CELL_SIZE-5, CELL_SIZE-5, COLOR_CELL_BG);//background
186
}
186
}
Line 187... Line 187...
187
 
187
 
188
void Draw_Panel()
188
void Draw_Panel()
189
{
189
{
190
	DrawBar(0, PANEL_Y, Form.cwidth, 1, system.color.work_dark);
190
	DrawBar(0, PANEL_Y, Form.cwidth, 1, sc.work_dark);
191
	DrawBar(0, PANEL_Y+1, Form.cwidth, 1, system.color.work_light);
191
	DrawBar(0, PANEL_Y+1, Form.cwidth, 1, sc.work_light);
192
	DrawBar(0, PANEL_Y+2, Form.cwidth, PANEL_H-2, system.color.work);
192
	DrawBar(0, PANEL_Y+2, Form.cwidth, PANEL_H-2, sc.work);
193
	DrawStandartCaptButton(9, PANEL_Y+5, 5, LABEL_NEW_GAME);
193
	DrawStandartCaptButton(9, PANEL_Y+5, 5, LABEL_NEW_GAME);
194
	Draw_Count();
194
	Draw_Count();
Line 195... Line 195...
195
}
195
}
196
 
196
 
197
void Draw_Count()
197
void Draw_Count()
198
{
198
{
199
	DrawBar(Form.cwidth-32,PANEL_Y + 12,30,12,system.color.work);
199
	DrawBar(Form.cwidth-32,PANEL_Y + 12,30,12,sc.work);