From a88cc991cd7152177f0d4abdab09661a3babd6f1 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 28 Nov 2010 13:43:47 +0000 Subject: [PATCH] clean up: comments removed, actionKeys found in it's own classes git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@907 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/f84cbad2e4997be217e6bb3a13d9518d4a5ef0a4 Author: Thilo Graf Date: 2010-11-28 (Sun, 28 Nov 2010) ------------------ This commit was generated by Migit --- src/neutrino.cpp | 67 ------------------------------------------------ 1 file changed, 67 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 1db23fb30..24c24cc80 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4089,30 +4089,6 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey) dprintf(DEBUG_INFO, "showing current network settings...\n"); showCurrentNetworkSettings(); } -// else if (actionKey=="theme_neutrino") { -// setupColors_neutrino(); -// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL); -// } -// else if (actionKey=="theme_classic") { -// setupColors_classic(); -// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL); -// } -// else if (actionKey=="theme_dblue") { -// setupColors_dblue(); -// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL); -// } -// else if (actionKey=="theme_dvb2k") { -// setupColors_dvb2k(); -// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL); -// } -// else if(actionKey=="theme_ru") { -// setupColors_ru(); -// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL); -// } -// else if(actionKey=="theme_red") { -// setupColors_red(); -// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL); -// } else if(actionKey=="savescansettings") { SaveMotorPositions(); } @@ -4328,49 +4304,6 @@ printf("New timeshift dir: %s\n", timeshiftDir); return menu_return::RETURN_REPAINT; } -// else if(actionKey == "select_font") { -// parent->hide(); -// CFileBrowser fileBrowser; -// CFileFilter fileFilter; -// fileFilter.addFilter("ttf"); -// fileBrowser.Filter = &fileFilter; -// if (fileBrowser.exec(FONTDIR) == true) { -// strcpy(g_settings.font_file, fileBrowser.getSelectedFile()->Name.c_str()); -// printf("[neutrino] new font file %s\n", fileBrowser.getSelectedFile()->Name.c_str()); -// SetupFonts(); -// } -// return menu_return::RETURN_REPAINT; -// } -// else if(actionKey == "ttx_font") { -// parent->hide(); -// CFileBrowser fileBrowser; -// CFileFilter fileFilter; -// fileFilter.addFilter("ttf"); -// fileBrowser.Filter = &fileFilter; -// if (fileBrowser.exec(FONTDIR) == true) { -// strcpy(g_settings.ttx_font_file, fileBrowser.getSelectedFile()->Name.c_str()); -// ttx_font_file = fileBrowser.getSelectedFile()->Name; -// printf("[neutrino] ttx font file %s\n", fileBrowser.getSelectedFile()->Name.c_str()); -// SetupFonts(); -// } -// return menu_return::RETURN_REPAINT; -// } -// else if (actionKey == "font_scaling") { -// int xre = g_settings.screen_xres; -// int yre = g_settings.screen_yres; -// parent->hide(); -// CMenuWidget fontscale(LOCALE_FONTMENU_SCALING, NEUTRINO_ICON_COLORS); -// fontscale.addItem(new CMenuOptionNumberChooser(LOCALE_FONTMENU_SCALING_X, &xre, true, 50, 200)); -// fontscale.addItem(new CMenuOptionNumberChooser(LOCALE_FONTMENU_SCALING_Y, &yre, true, 50, 200)); -// fontscale.exec(NULL, ""); -// if (xre != g_settings.screen_xres || yre != g_settings.screen_yres) { -// printf("[neutrino] new font scale settings x: %d%% y: %d%%\n", xre, yre); -// g_settings.screen_xres = xre; -// g_settings.screen_yres = yre; -// SetupFonts(); -// } -// return menu_return::RETURN_REPAINT; -// } else if(actionKey == "movieplugin") { parent->hide(); CMenuWidget MoviePluginSelector(LOCALE_MOVIEPLAYER_DEFPLUGIN, NEUTRINO_ICON_FEATURES);