diff options
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -134,6 +134,8 @@ void cPluginSkinEnigmaSetup::Store(void) SetupStore("ShowSignalInfo", EnigmaConfig.showSignalInfo); SetupStore("ShowCaMode", EnigmaConfig.showCaMode); SetupStore("DrawRoundCorners", EnigmaConfig.drawRoundCorners); + SetupStore("ChannelLogoWidth", EnigmaConfig.channelLogoWidth); + SetupStore("ChannelLogoHeight", EnigmaConfig.channelLogoHeight); char tmp[sizeof(EnigmaConfig.allFonts[0].Name) + 8]; for (int id = 0; id < FONT_NUMFONTS; id++) { @@ -391,9 +393,9 @@ void cMenuSetupLogos::Set(void) Add(new cMenuEditStraItem(tr(" Resize images"), &data->resizeImages, 3, resizeImagesTexts)); #endif Add(new cMenuEditIntItem(tr(" Image width" ), &data->imageWidth, 80, 180)); - Add(new cMenuEditIntItem(tr(" Image height" ), &data->imageHeight, 80, 144)); + Add(new cMenuEditIntItem(tr(" Image height" ), &data->imageHeight, 80, 144)); #ifdef HAVE_IMAGEMAGICK - Add(new cMenuEditStraItem(tr(" Image format"), &data->imageExtension, 3, imageExtensionTexts)); + Add(new cMenuEditStraItem(tr(" Image format"), &data->imageExtension, 3, imageExtensionTexts)); #endif } } @@ -401,6 +403,8 @@ void cMenuSetupLogos::Set(void) Add(new cMenuEditBoolItem(tr("Show channel logos"), &data->showLogo)); if (data->showLogo) { + Add(new cMenuEditIntItem(tr(" Image width" ), &data->channelLogoWidth, 64, 180)); //TODO: find suitable max values + Add(new cMenuEditIntItem(tr(" Image height" ), &data->channelLogoHeight, 48, 144)); Add(new cMenuEditBoolItem(tr(" Identify channel by"), &data->useChannelId, tr("name"), tr("data"))); } if (data->showLogo || data->showSymbols) { |