summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/setup.c b/setup.c
index b55729c..780f1c6 100644
--- a/setup.c
+++ b/setup.c
@@ -179,9 +179,15 @@ cVFDMenuSetup::cVFDMenuSetup(cVFDWatch* pDev)
fontNames.Insert(strdup(DEFAULT_FONT));
fontIndex = max(0, fontNames.Find(m_tmpSetup.m_szFont));
- Add(new cMenuEditIntItem (tr("Brightness"),
- &m_tmpSetup.m_nBrightness,
- 0, 2));
+ static const char * szBrightness[3];
+ szBrightness[0] = tr("Show nothing");
+ szBrightness[1] = tr("Half brightness");
+ szBrightness[2] = tr("Full brightness");
+
+ Add(new cMenuEditStraItem (tr("Brightness"),
+ &m_tmpSetup.m_nBrightness,
+ memberof(szBrightness), szBrightness));
+
Add(new cMenuEditBoolItem(tr("Render mode"),
&m_tmpSetup.m_bTwoLineMode,
tr("Single line"), tr("Dual lines")));