Subversion Repositories Kolibri OS

Rev

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

Rev 8951 Rev 8952
Line 62... Line 62...
62
	bool is_active=0;
62
	bool is_active=0;
63
	int draw_y, draw_x;
63
	int draw_y, draw_x;
64
	
64
	
Line 65... Line 65...
65
	if (efm) { 
65
	if (efm) { 
66
		DrawSelect(Form.cwidth/2-DDW, KFM_DEV_DROPDOWN_1, location[0]);
66
		DrawSelect(2, KFM_DEV_DROPDOWN_1, location[0]);
67
		DrawSelect(Form.cwidth-DDW-2, KFM_DEV_DROPDOWN_2, location[sizeof(dword)]);
67
		DrawSelect(Form.cwidth/2, KFM_DEV_DROPDOWN_2, location[sizeof(dword)]);
68
		files.y = 40 + 17;
68
		files.y = 40 + 17;
69
	} else { 
69
	} else { 
70
		Tip(56, T_DEVICES, 55, "=");
70
		Tip(56, T_DEVICES, 55, "=");
71
		for (i=0; i<30; i++) DeleteButton(100+i);
71
		for (i=0; i<30; i++) DeleteButton(100+i);
Line 95... Line 95...
95
			_PutImage(draw_x+6,draw_y, 18,17, is_active*7+dev_icon*17*18*3+#devices);
95
			_PutImage(draw_x+6,draw_y, 18,17, is_active*7+dev_icon*17*18*3+#devices);
96
			draw_y += DEV_H;			
96
			draw_y += DEV_H;			
97
		}
97
		}
98
		DrawBar(draw_x+6, draw_y, 18, 1, 0xFFFfff);
98
		DrawBar(draw_x+6, draw_y, 18, 1, 0xFFFfff);
99
		ActionsDraw(SystemDiscs.list.count*DEV_H+108);
99
		ActionsDraw(list.count*DEV_H+108);
100
		DrawLeftPanelBg(SystemDiscs.list.count*DEV_H);
100
		DrawLeftPanelBg(list.count*DEV_H);
101
	}
101
	}
102
}
102
}
103
 
103
 
Line 104... Line 104...
104
void _SystemDiscs::DrawSelect(int draw_x, btid, dword _path)
104
void _SystemDiscs::DrawSelect(int draw_x, btid, dword _path)
105
{
105
{
106
	#define SELECTY 10
-
 
107
	char dev_name[15], disc_name[100], i, dev_icon;
106
	char dev_name[15], disc_name[100], i, dev_icon;
Line 108... Line 107...
108
 
107
 
109
	if (ESBYTE[_path+1]=='\0') {
108
	if (ESBYTE[_path+1]=='\0') {
110
		strcpy(#dev_name, "/root");
109
		strcpy(#dev_name, "/root");