Exemple #1
0
CEDFileSelector::CEDFileSelector(float _x, float _y, float _sx, float _sy, char* path, char* label)
: CGUIFileBrowser(_x,_y,_sx,_sy) //,path,label,1)
{
	title->SetText("FileSelector");
	MsgAcceptConsume(MsgKeyboard);

	compareFunction=&Compare;
	SetCompareFunctionSubTree(&Compare);

	AddRootItem(path,label,1);

	SetDirMenu();
	SetFileMenu();
}
CMenuBarGraph::CMenuBarGraph(wxMenu *pMenuPlot) :  CMenuBar(false)
{
  Insert(0,pMenuPlot,LABEL_GRAPH);
  SetFileMenu(new CMenuFileGraph);
}