scan_setup: add unicable setup to the GUI

This commit is contained in:
Stefan Seyfried
2012-07-08 16:09:34 +02:00
parent ab3ac9a4c3
commit c36a5d6e94
5 changed files with 21 additions and 1 deletions

View File

@@ -1338,6 +1338,9 @@ timing.infobar_movieplayer Infobar (Filmwiedergabe)
timing.infobar_radio Infobar (Radiobetrieb)
timing.menu Menü
timing.numericzap Umschalten mit Zifferntasten
unicable.lnb Unicable Eingang
unicable.qrg Unicable Frequenz
unicable.scr Unicable SCR
upnpbrowser.head UPnP Browser
upnpbrowser.noservers Kein UPnP-Server gefunden
upnpbrowser.rescan Neue Suche

View File

@@ -1338,6 +1338,9 @@ timing.infobar_movieplayer Infobar (movie mode)
timing.infobar_radio Infobar (radio mode)
timing.menu Menu
timing.numericzap Numeric Zap
unicable.qrg Unicable Input
unicable.qrg Unicable Frequency
unicable.scr Unicable SCR
upnpbrowser.head UPnP Browser
upnpbrowser.noservers No UPnP servers found
upnpbrowser.rescan Scan again

View File

@@ -9,6 +9,8 @@
Copyright (C) 2011 T. Graf 'dbt'
Homepage: http://www.dbox2-tuning.net/
Copyright (C) 2011-2012 Stefan Seyfried
License: GPL
This program is free software; you can redistribute it and/or modify
@@ -551,6 +553,9 @@ void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat)
CMenuOptionNumberChooser *diseqc = new CMenuOptionNumberChooser(LOCALE_SATSETUP_DISEQC_INPUT, &sit->second.diseqc, ((dmode != NO_DISEQC) && (dmode != DISEQC_ADVANCED)), -1, 15, NULL, 1, -1, LOCALE_OPTIONS_OFF);
CMenuOptionNumberChooser *comm = new CMenuOptionNumberChooser(LOCALE_SATSETUP_COMM_INPUT, &sit->second.commited, dmode == DISEQC_ADVANCED, -1, 15, NULL, 1, -1, LOCALE_OPTIONS_OFF);
CMenuOptionNumberChooser *uncomm = new CMenuOptionNumberChooser(LOCALE_SATSETUP_UNCOMM_INPUT, &sit->second.uncommited, dmode == DISEQC_ADVANCED, -1, 15, NULL, 1, -1, LOCALE_OPTIONS_OFF);
CMenuOptionNumberChooser *uniscr = new CMenuOptionNumberChooser(LOCALE_UNICABLE_SCR, &sit->second.unicable_scr, true, -1, 7, NULL, 0, -1, LOCALE_OPTIONS_OFF);
CIntInput *uniqrg = new CIntInput(LOCALE_UNICABLE_QRG, (int&) sit->second.unicable_qrg, 4, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE);
CMenuOptionNumberChooser *unilnb = new CMenuOptionNumberChooser(LOCALE_UNICABLE_LNB, &sit->second.unicable_lnb, true, 0, 1);
//CMenuOptionNumberChooser *motor = new CMenuOptionNumberChooser(LOCALE_SATSETUP_MOTOR_POS, &sit->second.motor_position, dmode == DISEQC_ADVANCED, 0, 64, NULL, 0, 0, LOCALE_OPTIONS_OFF);
CMenuOptionNumberChooser *motor = new CMenuOptionNumberChooser(LOCALE_SATSETUP_MOTOR_POS, &sit->second.motor_position, true, 0, 64, NULL, 0, 0, LOCALE_OPTIONS_OFF);
//CMenuOptionChooser *usals = new CMenuOptionChooser(LOCALE_EXTRA_USE_GOTOXX, &sit->second.use_usals, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, dmode == DISEQC_ADVANCED);
@@ -572,6 +577,9 @@ void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat)
temp_sat->addItem(diseqc);
temp_sat->addItem(comm);
temp_sat->addItem(uncomm);
temp_sat->addItem(uniscr);
temp_sat->addItem(new CMenuForwarder(LOCALE_UNICABLE_QRG, true, uniqrg->getValue(), uniqrg));
temp_sat->addItem(unilnb);
temp_sat->addItem(motor);
temp_sat->addItem(usals);
temp_sat->addItem(new CMenuForwarder(LOCALE_SATSETUP_LOFL, true, lofL->getValue(), lofL));

View File

@@ -1365,6 +1365,9 @@ typedef enum
LOCALE_TIMING_INFOBAR_RADIO,
LOCALE_TIMING_MENU,
LOCALE_TIMING_NUMERICZAP,
LOCALE_UNICABLE_LNB,
LOCALE_UNICABLE_QRG,
LOCALE_UNICABLE_SCR,
LOCALE_UPNPBROWSER_HEAD,
LOCALE_UPNPBROWSER_NOSERVERS,
LOCALE_UPNPBROWSER_RESCAN,

View File

@@ -1365,6 +1365,9 @@ const char * locale_real_names[] =
"timing.infobar_radio",
"timing.menu",
"timing.numericzap",
"unicable.lnb",
"unicable.qrg",
"unicable.scr",
"upnpbrowser.head",
"upnpbrowser.noservers",
"upnpbrowser.rescan",