diff options
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 36 |
1 files changed, 22 insertions, 14 deletions
@@ -15,20 +15,27 @@ cLCARSNGSetup::cLCARSNGSetup() { int currentItem = Current(); SetCols(45); + menuView[0] = tr("scaled video"); + menuView[1] = tr("fullscreen"); + menuView[2] = tr("splitscreen"); + Add(new cMenuEditIntItem(tr("Margin"), &tmpConfig.Margin, 0, 5)); - Add(new cOsdItem(tr("Scaled video in menue:"), osUnknown, false)); - Add(new cMenuEditBoolItem(tr("MainMenue"), &tmpConfig.mcMainScaled)); - Add(new cMenuEditBoolItem(tr("ScheduleMenue"), &tmpConfig.mcScheduleScaled)); - Add(new cMenuEditBoolItem(tr("ChannelMenue"), &tmpConfig.mcChannelScaled)); - Add(new cMenuEditBoolItem(tr("TimerMenue"), &tmpConfig.mcTimerScaled)); - Add(new cMenuEditBoolItem(tr("RecordingMenue"), &tmpConfig.mcRecordingScaled)); -// Add(new cMenuEditBoolItem(tr("PluginMenue"), &tmpConfig.mcPluginScaled)); - Add(new cMenuEditBoolItem(tr("SetupMenue"), &tmpConfig.mcSetupScaled)); - Add(new cMenuEditBoolItem(tr("CommandMenue"), &tmpConfig.mcCommandScaled)); - Add(new cMenuEditBoolItem(tr("EventMenue"), &tmpConfig.mcEventScaled)); -// Add(new cMenuEditBoolItem(tr("TextMenue"), &tmpConfig.mcTextScaled)); -// Add(new cMenuEditBoolItem(tr("FolderMenue"), &tmpConfig.mcFolderScaled)); -// Add(new cMenuEditBoolItem(tr("CamMenue"), &tmpConfig.mcCamScaled)); + + Add(new cOsdItem(tr("Menue view:"), osUnknown, false)); + + Add(new cMenuEditStraItem(tr("main menue"), &tmpConfig.mcMainScaled, 2, menuView)); + Add(new cMenuEditStraItem(tr("schedule menue"), &tmpConfig.mcScheduleScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("event menue"), &tmpConfig.mcEventScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("channel menue"), &tmpConfig.mcChannelScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("timer menue"), &tmpConfig.mcTimerScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("recording menue"), &tmpConfig.mcRecordingScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("setup menue"), &tmpConfig.mcSetupScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("command menue"), &tmpConfig.mcCommandScaled, 3, menuView)); + Add(new cMenuEditStraItem(tr("plugin menue"), &tmpConfig.mcPluginScaled, 3, menuView)); +// Add(new cMenuEditStraItem(tr("Text menue"), &tmpConfig.mcTextScaled)); +// Add(new cMenuEditStraItem(tr("Folder menue"), &tmpConfig.mcFolderScaled)); +// Add(new cMenuEditStraItem(tr("Cam menue"), &tmpConfig.mcCamScaled)); + Add(new cMenuEditStraItem(tr("Default view"), &tmpConfig.mcDefaultScaled, 3, menuView)); SetCurrent(Get(currentItem)); Display(); @@ -43,11 +50,12 @@ void cLCARSNGSetup::Store(void) { SetupStore("ChannelMenue", Config.mcChannelScaled); SetupStore("TimerMenue", Config.mcTimerScaled); SetupStore("RecordingMenue", Config.mcRecordingScaled); -// SetupStore("PluginMenue", Config.mcPluginScaled); + SetupStore("PluginMenue", Config.mcPluginScaled); SetupStore("SetupMenue", Config.mcSetupScaled); SetupStore("CommandMenue", Config.mcCommandScaled); SetupStore("EventMenue", Config.mcEventScaled); // SetupStore("TextMenue", Config.mcTextScaled); // SetupStore("FolderMenue", Config.mcFolderScaled); // SetupStore("CamMenue", Config.mcCamScaled); + SetupStore("DefaultMenue", Config.mcDefaultScaled); } |