diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-26 11:46:01 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-26 11:46:01 +0200 |
commit | 6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25 (patch) | |
tree | 8e2d567f7c6a6ce1fcd81af45d433789310ad30a /menu.c | |
parent | 35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf (diff) | |
download | vdr-plugin-text2skin-6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25.tar.gz vdr-plugin-text2skin-6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25.tar.bz2 |
Make MAX_CHARS configurable.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ void cText2SkinSetupPage::Setup(void) { Add(new cMenuEditBoolItem(tr("Use 'epgsearch' to check timer-conflicts"), &mData.CheckTimerConflict)); Add(new cOsdItem(tr("Flush image cache"), osUser1)); Add(new cMenuEditIntItem(tr("Max. image cache size"), &mData.MaxCacheFill, 1)); + Add(new cMenuEditIntItem(tr("Max. characters per line"), &mData.MaxChars, 1)); Add(new cMenuEditBoolItem(tr("Old Skin compatibility (<1.0)"), &mData.SupportOldSkins, tr("no"), tr("yes"))); SetCurrent(Get(current)); @@ -42,6 +43,7 @@ void cText2SkinSetupPage::Store(void) { SetupStore("StripAux", mData.StripAux); SetupStore("CheckTimerConflict", mData.CheckTimerConflict); SetupStore("MaxCacheFill", mData.MaxCacheFill); + SetupStore("MaxChars", mData.MaxChars); SetupStore("SupportOldSkins", mData.SupportOldSkins); Text2SkinSetup = mData; } |