Günther ??
kann man den codeteil in der neutrino.cpp abändern ??
Code: Alles auswählen
// Directory menu for direct recording
CMenuWidget *dirMenu = new CMenuWidget(LOCALE_RECORDINGMENU_DEFDIR, NEUTRINO_ICON_RECORDING);
dirMenu->addItem(GenericMenuSeparator);
CDirChooser* fc1[MAX_RECORDING_DIR];
CMenuForwarder* mffc[MAX_RECORDING_DIR];
char temp[10];
for(int i=0 ; i < MAX_RECORDING_DIR ; i++)
{
fc1[i] = new CDirChooser(&g_settings.recording_dir[i],"/mnt/","/hdd");
snprintf(temp,10,"%d:",i);
temp[9]=0;// terminate for sure
mffc[i] = new CMenuForwarderNonLocalized(temp, true, g_settings.recording_dir[i],fc1[i]);
}
for(int i=0 ; i < MAX_RECORDING_DIR ; i++)
{
dirMenu->addItem(mffc[i]);
}
in so ??
dann ist dort der zurückbutton mit drin, wie in allen menü es von neutrino.
und die nummer 1: würde ersetzt durch 1:Ver. das wäre das nonplusltra.
Code: Alles auswählen
// Directory menu for direct recording
CMenuWidget *dirMenu = new CMenuWidget(LOCALE_RECORDINGMENU_DEFDIR, NEUTRINO_ICON_RECORDING);
dirMenu->addItem(GenericMenuSeparator);
dirMenu->addItem(GenericMenuBack);
dirMenu->addItem(GenericMenuSeparatorLine);
CDirChooser* fc1[MAX_RECORDING_DIR];
CMenuForwarder* mffc[MAX_RECORDING_DIR];
char temp[10];
char verz[5];
for(int i=0 ; i < MAX_RECORDING_DIR ; i++)
{
fc1[i] = new CDirChooser(&g_settings.recording_dir[i],"/mnt/","/hdd");
snprintf(temp,10,"%d.",i);
sprintf(verz,"%s","Ver");
temp[9]=0;// terminate for sure
mffc[i] = new CMenuForwarderNonLocalized(temp, verz, true, g_settings.recording_dir[i],fc1[i]);
}
for(int i=0 ; i < MAX_RECORDING_DIR ; i++)
{
dirMenu->addItem(mffc[i]);
}
thx
codeverbesserungen erlaubt