Subversion Repositories Kolibri OS

Rev

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

Rev 7778 Rev 7806
Line 179... Line 179...
179
   }
179
   }
180
}
180
}
Line 181... Line 181...
181
 
181
 
182
void draw_window()
182
void draw_window()
183
{
183
{
184
	system.color.get();	
184
	sc.get();	
185
	DefineAndDrawWindow(screen.width-600/2,80,630,504+skin_height,0x34,system.color.work,WINDOW_HEADER,0);
185
	DefineAndDrawWindow(screen.width-600/2,80,630,504+skin_height,0x34,sc.work,WINDOW_HEADER,0);
186
	GetProcessInfo(#Form, SelfInfo);
186
	GetProcessInfo(#Form, SelfInfo);
187
	IF (Form.status_window>=2) return;
187
	IF (Form.status_window>=2) return;
188
	DrawWindowContent();
188
	DrawWindowContent();
Line 189... Line 189...
189
}
189
}
190
 
190
 
191
void DrawWindowContent()
191
void DrawWindowContent()
192
{
192
{
Line 193... Line 193...
193
	int id;
193
	int id;
Line 194... Line 194...
194
	int list_w;
194
	int list_w;
Line 195... Line 195...
195
 
195
 
196
	system.color.get();	
196
	sc.get();	
Line 220... Line 220...
220
		230 //select_list.h - 50 - 50
220
		230 //select_list.h - 50 - 50
221
	);
221
	);
Line 222... Line 222...
222
 
222
 
223
	SelectList_Draw();
223
	SelectList_Draw();
224
	SelectList_DrawBorder();
224
	SelectList_DrawBorder();
Line 225... Line 225...
225
	//DrawWideRectangle(0, 0, Form.cwidth, Form.cheight, LP, system.color.work);
225
	//DrawWideRectangle(0, 0, Form.cwidth, Form.cheight, LP, sc.work);
226
 
226
 
227
	if (tabs.active_tab == SKINS)
227
	if (tabs.active_tab == SKINS)
228
	{
228
	{
Line 276... Line 276...
276
	temp_filename[strlen(#temp_filename)-4] = 0;
276
	temp_filename[strlen(#temp_filename)-4] = 0;
277
	yyy = i*select_list.item_h+select_list.y;
277
	yyy = i*select_list.item_h+select_list.y;
Line 278... Line 278...
278
	
278
	
279
	if (select_list.cur_y-select_list.first==i)
279
	if (select_list.cur_y-select_list.first==i)
280
	{
280
	{
281
		DrawBar(select_list.x, yyy, select_list.w, select_list.item_h, system.color.work_button);
281
		DrawBar(select_list.x, yyy, select_list.w, select_list.item_h, sc.button);
282
		WriteText(select_list.x+12,yyy+select_list.text_y,select_list.font_type,system.color.work_button_text, #temp_filename);
282
		WriteText(select_list.x+12,yyy+select_list.text_y,select_list.font_type,sc.button_text, #temp_filename);
283
	}
283
	}
284
	else
284
	else
285
	{
285
	{
286
		DrawBar(select_list.x,yyy,select_list.w, select_list.item_h, 0xFFFfff);
286
		DrawBar(select_list.x,yyy,select_list.w, select_list.item_h, 0xFFFfff);