Subversion Repositories Kolibri OS

Rev

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

Rev 7893 Rev 7910
Line 305... Line 305...
305
 
305
 
306
 
306
 
307
void draw_window()
307
void draw_window()
-
 
308
{
-
 
309
	int i;
-
 
310
	bool burger_active = false;
308
{
311
	if (menu_id == OPEN_FILE) burger_active = true;
Line 309... Line 312...
309
	int i;
312
 
310
	SetElementSizes();
313
	SetElementSizes();
311
 
314
 
312
	DrawBar(0,0, Form.cwidth,PADDING, sc.work);
315
	DrawBar(0,0, Form.cwidth,PADDING, sc.work);
313
	DrawBar(0,PADDING+TSZE+1, Form.cwidth,PADDING-1, sc.work);
316
	DrawBar(0,PADDING+TSZE+1, Form.cwidth,PADDING-1, sc.work);
314
	DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, MixColors(sc.work_dark, sc.work, 180));
317
	DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, MixColors(sc.work_dark, sc.work, 180));
Line 315... Line 318...
315
	DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, sc.work_graph);
318
	DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, sc.work_graph);
316
	DrawBar(0, PADDING, address_box.left-2, TSZE+1, sc.work);
319
	DrawBar(0, PADDING, address_box.left-2, TSZE+1, sc.work);
317
	DrawBar(address_box.left+address_box.width+18, PADDING, Form.cwidth-address_box.left-address_box.width-18, TSZE+1, sc.work);
320
	DrawBar(address_box.left+address_box.width+18, PADDING, Form.cwidth-address_box.left-address_box.width-18, TSZE+1, sc.work);
Line 318... Line 321...
318
 
321
 
Line 319... Line 322...
319
	DrawTopPanelButton(BACK_BUTTON, PADDING-1, PADDING, 30);
322
	DrawTopPanelButton(BACK_BUTTON, PADDING-1, PADDING, 30, false);
320
	DrawTopPanelButton(FORWARD_BUTTON, PADDING+TSZE+PADDING-2, PADDING, 31);
323
	DrawTopPanelButton(FORWARD_BUTTON, PADDING+TSZE+PADDING-2, PADDING, 31, false);
Line 761... Line 764...
761
}
764
}
Line 762... Line 765...
762
 
765
 
763
void ProcessMenuClick()
766
void ProcessMenuClick()
764
{
767
{
-
 
768
	int click_id;
765
	int click_id;
769
	if (menu_id) {
766
	if (menu_id) && (click_id = get_menu_click()) {
770
		if (click_id = get_menu_click()) {
767
		click_id += menu_id - 1;
-
 
768
		menu_id = NULL;
771
			click_id += menu_id - 1;
769
		ProcessEvent(click_id);
772
			ProcessEvent(click_id);
-
 
773
		}
-
 
774
		if (!menu_process_id) menu_id = NULL;
770
	}
775
	}
Line 771... Line 776...
771
}
776
}
772
 
777
 
773
void EventUpdateProgressBar()
778
void EventUpdateProgressBar()