mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
format timerlist.cpp with astyle
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1352 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -374,7 +374,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
else if(actionKey == "rec_dir1") {
|
else if(actionKey == "rec_dir1") {
|
||||||
parent->hide();
|
parent->hide();
|
||||||
const char *action_str = "RecDir1";
|
const char *action_str = "RecDir1";
|
||||||
if(chooserDir(timerlist[selected].recordingDir, true, action_str, sizeof(timerlist[selected].recordingDir)-1)){
|
if(chooserDir(timerlist[selected].recordingDir, true, action_str, sizeof(timerlist[selected].recordingDir)-1)) {
|
||||||
printf("[%s] new %s dir %s\n",__FILE__, action_str, timerlist[selected].recordingDir);
|
printf("[%s] new %s dir %s\n",__FILE__, action_str, timerlist[selected].recordingDir);
|
||||||
}
|
}
|
||||||
return menu_return::RETURN_REPAINT;
|
return menu_return::RETURN_REPAINT;
|
||||||
@@ -382,7 +382,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
else if(actionKey == "rec_dir2") {
|
else if(actionKey == "rec_dir2") {
|
||||||
parent->hide();
|
parent->hide();
|
||||||
const char *action_str = "RecDir2";
|
const char *action_str = "RecDir2";
|
||||||
if(chooserDir(timerNew.recordingDir, true, action_str, sizeof(timerNew.recordingDir)-1)){
|
if(chooserDir(timerNew.recordingDir, true, action_str, sizeof(timerNew.recordingDir)-1)) {
|
||||||
printf("[%s] new %s dir %s\n",__FILE__, action_str, timerNew.recordingDir);
|
printf("[%s] new %s dir %s\n",__FILE__, action_str, timerNew.recordingDir);
|
||||||
}
|
}
|
||||||
return menu_return::RETURN_REPAINT;
|
return menu_return::RETURN_REPAINT;
|
||||||
@@ -806,7 +806,8 @@ void CTimerList::paintItem(int pos)
|
|||||||
zAddData = timer.pluginName;
|
zAddData = timer.pluginName;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default: {}
|
default:
|
||||||
|
{}
|
||||||
}
|
}
|
||||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+fw*13,ypos+2*fheight, real_width-(fw*13+5), zAddData, color, fheight, true); // UTF-8
|
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+fw*13,ypos+2*fheight, real_width-(fw*13+5), zAddData, color, fheight, true); // UTF-8
|
||||||
// LCD Display
|
// LCD Display
|
||||||
|
Reference in New Issue
Block a user