mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: afbd87083b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
------------------
This commit was generated by Migit
This commit is contained in:
@@ -194,10 +194,9 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
int percent[p_count];
|
||||
for (uint i=0; i < p_count; i++) {
|
||||
percent[i] = CZapit::getInstance()->GetPidVolume(0, g_RemoteControl->current_PIDs.APIDs[i].pid);
|
||||
AudioSelector.addItem(new CMenuOptionNumberChooser(NONEXISTANT_LOCALE, &percent[i],
|
||||
i == g_RemoteControl->current_PIDs.PIDs.selected_apid,
|
||||
0, 999, CVolume::getInstance(), 0, 0, NONEXISTANT_LOCALE,
|
||||
g_RemoteControl->current_PIDs.APIDs[i].desc));
|
||||
AudioSelector.addItem(new CMenuOptionNumberChooser(g_RemoteControl->current_PIDs.APIDs[i].desc,
|
||||
&percent[i], i == g_RemoteControl->current_PIDs.PIDs.selected_apid,
|
||||
0, 999, CVolume::getInstance()));
|
||||
}
|
||||
|
||||
return AudioSelector.exec(NULL, "");
|
||||
|
Reference in New Issue
Block a user