Subversion Repositories Kolibri OS

Rev

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

Rev 8882 Rev 8901
Line 1... Line 1...
1
//Leency, Veliant, Punk_Joker, PavelYakov & KolibriOS Team 2008-2021
1
//Leency, Veliant, Punk_Joker, PavelYakov & KolibriOS Team 2008-2021
2
//GNU GPL license.
2
//GNU GPL license.
Line 3... Line 3...
3
 
3
 
Line 4... Line 4...
4
// 70.5 - get volume info and label
4
// 70.5 - get volume info and label
5
 
5
 
6
#define ABOUT_TITLE "EOLITE 5 Beta6"
6
#define ABOUT_TITLE "EOLITE 5 Beta7"
Line 7... Line 7...
7
#define TITLE_EOLITE "Eolite File Manager 5 Beta6"
7
#define TITLE_EOLITE "Eolite File Manager 5 Beta7"
8
#define TITLE_KFM "Kolibri File Manager 2 Beta6";
8
#define TITLE_KFM "Kolibri File Manager 2 Beta7";
9
 
9
 
10
#define MEMSIZE 1024 * 250
10
#define MEMSIZE 1024 * 250
Line 573... Line 573...
573
	dword i=0;
573
	dword i=0;
574
	incn x;
574
	incn x;
575
	dword title;
575
	dword title;
576
	if (show_status_bar.checked) {
576
	if (show_status_bar.checked) {
577
		#define STBAR_EOLITE_H 16;
577
		#define STBAR_EOLITE_H 16;
578
		#define STBAR_KFM_H 21;
578
		#define STBAR_KFM_H 21+16;
579
		if (efm) status_bar_h = STBAR_KFM_H;
579
		if (efm) status_bar_h = STBAR_KFM_H;
580
		else status_bar_h = STBAR_EOLITE_H;
580
		else status_bar_h = STBAR_EOLITE_H;
581
	} else {
581
	} else {
582
		status_bar_h = 0;
582
		status_bar_h = 0;
583
	}
583
	}
Line 657... Line 657...
657
	for (i=0; i<10; i++) min_w += strlen(kfm_func[i])*6 + 2;
657
	for (i=0; i<10; i++) min_w += strlen(kfm_func[i])*6 + 2;
658
	padding = Form.cwidth - min_w + 4 / 10;
658
	padding = Form.cwidth - min_w + 4 / 10;
659
	for (i=0; i<10; i++) {
659
	for (i=0; i<10; i++) {
660
		len = strlen(kfm_func[i])*6 + padding;
660
		len = strlen(kfm_func[i])*6 + padding;
661
		if (i==9) len = Form.cwidth - x - 3;
661
		if (i==9) len = Form.cwidth - x - 3;
662
		DrawFlatButtonSmall(x+1, Form.cheight - 19, len, 16, i+KFM_FUNC_ID+1, kfm_func[i]);
662
		DrawFuncButton(x+1, Form.cheight - 19, len, i+KFM_FUNC_ID+1, kfm_func[i]);
663
		x += len + 2;
663
		x += len + 2;
664
	}
664
	}
665
}
665
}
Line 666... Line 666...
666
 
666
 
667
void DrawStatusBar()
667
void DrawStatusBar()
668
{
668
{
669
	char status_bar_str[80];
669
	char status_bar_str[80];
Line 670... Line 670...
670
	int go_up_folder_exists=0;
670
	int go_up_folder_exists=0;
671
 
671
 
672
	if (efm) { 
672
	if (efm) { 
-
 
673
		DrawBar(0, Form.cheight - status_bar_h+15, Form.cwidth,  status_bar_h-15, sc.work);
673
		DrawBar(0, Form.cheight - status_bar_h, Form.cwidth,  status_bar_h, sc.work);
674
		DrawFuncButtonsInKfm();
674
		DrawFuncButtonsInKfm();
675
		DrawPathBar();
Line 675... Line 676...
675
		return;
676
		return;
676
	}
677
	}