示例#1
0
int run_menuLoad(char *curr_path)
{
	raise_loadMenu();

	int ret=menuLoadLoop(curr_path);
	unraise_loadMenu();
	return ret;
}
示例#2
0
int run_menuLoad(char *curr_path, int aLoadType)
{
	menu_load_type = aLoadType;

	raise_loadMenu();
	int ret=menuLoadLoop(curr_path);
	unraise_loadMenu();
	return ret;
}
示例#3
0
int run_menuLoad()
{
	int end=0,c=0;

	if (text_dir_files==NULL)
		end=getDefaultFiles();
	else
		if (checkFiles())
			end=getDefaultFiles();

//	text_dir_num_files_index=0;

	raise_loadMenu();
	while(!end)
	{
		draw_loadMenu(c);
		end=key_loadMenu(&c);
	}
	unraise_loadMenu();

	return end;
}