summaryrefslogtreecommitdiff
path: root/vfd.c
diff options
context:
space:
mode:
authoranbr <vdr07@deltab.de>2010-10-17 14:03:20 +0200
committeranbr <vdr07@deltab.de>2010-10-17 14:03:20 +0200
commit658a01ae81604eb531bdab8a903ad3e14fb0294b (patch)
tree5d19cca84ed573ccc4eca8678b3c268d6650b327 /vfd.c
parent7137af32b85b4201b6948ce11ba21ce1849836bd (diff)
downloadvdr-plugin-targavfd-658a01ae81604eb531bdab8a903ad3e14fb0294b.tar.gz
vdr-plugin-targavfd-658a01ae81604eb531bdab8a903ad3e14fb0294b.tar.bz2
Add render mode -show channel name only- (Request #427)
Diffstat (limited to 'vfd.c')
-rw-r--r--vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vfd.c b/vfd.c
index 7dd7f01..c23f871 100644
--- a/vfd.c
+++ b/vfd.c
@@ -261,7 +261,7 @@ cVFD::~cVFD() {
bool cVFD::open()
{
if(!SetFont(theSetup.m_szFont,
- theSetup.m_bTwoLineMode,
+ theSetup.m_nRenderMode == eRenderMode_DualLine,
theSetup.m_nBigFontHeight,
theSetup.m_nSmallFontHeight)) {
return false;
@@ -476,7 +476,7 @@ void cVFD::Brightness(int nBrightness)
this->QueueData((byte) (nBrightness));
}
-bool cVFD::SetFont(const char *szFont, int bTwoLineMode, int nBigFontHeight, int nSmallFontHeight) {
+bool cVFD::SetFont(const char *szFont, bool bTwoLineMode, int nBigFontHeight, int nSmallFontHeight) {
cVFDFont* tmpFont = NULL;