summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-12-18 13:04:45 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-01-12 16:19:44 +0100
commit6a5ad0c9e11f8319dd9835a4a68d401623ad81a2 (patch)
tree6cb0cdfb2bdfea30d0c90b3438188bef0f9a6b42 /setup.c
parentdcf3790bab61864d7b0738848328e522b634a9f1 (diff)
downloadskin-nopacity-6a5ad0c9e11f8319dd9835a4a68d401623ad81a2.tar.gz
skin-nopacity-6a5ad0c9e11f8319dd9835a4a68d401623ad81a2.tar.bz2
Size of channel logos is now configureable in setup to better fit in postion
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 309048a..49b79a8 100644
--- a/setup.c
+++ b/setup.c
@@ -228,12 +228,14 @@ void cNopacitySetupMenuDisplayMain::Set(void) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Maximum number of Timers")), tmpConf->GetValueRef("numberTimers"), 1, 10));
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Width of Timers (Percent of OSD Width)")), tmpConf->GetValueRef("menuWidthRightItems"), 5, 30));
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Width of Channel Logos (Percent of Timer Width)")), tmpConf->GetValueRef("timersLogoWidth"), 20, 98));
+ Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Size of the Timer Channel Logo in Percent")), tmpConf->GetValueRef("logoTimerScale"), 50, 100));
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Adjust Font Size - Header")), tmpConf->GetValueRef("fontTimersHead"), -20, 20));
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Adjust Font Size - Title")), tmpConf->GetValueRef("fontTimers"), -20, 20));
}
Add(new cMenuEditBoolItem(tr("Show Timer Conflicts"), tmpConf->GetValueRef("checkTimerConflict")));
Add(new cMenuEditIntItem(tr("Header Logo Width"), tmpConf->GetValueRef("menuHeaderLogoWidth"), 30, 500));
Add(new cMenuEditIntItem(tr("Header Logo Height"), tmpConf->GetValueRef("menuHeaderLogoHeight"), 30, 500));
+ Add(new cMenuEditIntItem(tr("Size of the Menu Channel Logo in Percent"), tmpConf->GetValueRef("logoMenuScale"), 50, 100));
Add(new cMenuEditIntItem(tr("Adjust Font Size - Menu Items"), tmpConf->GetValueRef("fontMenuitemLarge"), -20, 20));
SetCurrent(Get(currentItem));
@@ -425,6 +427,7 @@ void cNopacitySetupChannelDisplay::Set(void) {
if (tmpConf->GetValue("logoPosition")) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo original Width")), tmpConf->GetValueRef("logoWidthOriginal"), 30, 500));
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo original Height")), tmpConf->GetValueRef("logoHeightOriginal"), 30, 500));
+ Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Size of the Channel Logo in Percent")), tmpConf->GetValueRef("logoScale"), 50, 100));
Add(new cMenuEditBoolItem(cString::sprintf("%s%s", *spacer, tr("Use Channel Logo background")), tmpConf->GetValueRef("channelUseLogoBackground")));
}
Add(new cMenuEditStraItem(tr("Kind of time display for current schedule"), tmpConf->GetValueRef("progressCurrentSchedule"), 2, progressStyleCurrentSchedule));