1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Horizontal offset setup option should be functional now.

This commit is contained in:
Rolf Ahrenberg 2005-02-26 04:20:00 +02:00
parent ca954757db
commit 5bda0fa833
4 changed files with 10 additions and 7 deletions

View File

@ -137,3 +137,7 @@ VDR Plugin 'femon' Revision History
- Minor modification for DEBUG mode. - Minor modification for DEBUG mode.
- Added preliminary support for themes and some GUI tweaks. - Added preliminary support for themes and some GUI tweaks.
- Added horizontal offset setup option. - Added horizontal offset setup option.
2005-02-26: Version 0.8.6
- Horizontal offset setup option should be functional now.

View File

@ -11,7 +11,7 @@
#include <vdr/plugin.h> #include <vdr/plugin.h>
static const char *VERSION = "0.8.5"; static const char *VERSION = "0.8.6";
static const char *DESCRIPTION = "DVB Signal Information Monitor (OSD)"; static const char *DESCRIPTION = "DVB Signal Information Monitor (OSD)";
static const char *MAINMENUENTRY = "Signal Information"; static const char *MAINMENUENTRY = "Signal Information";

View File

@ -884,7 +884,7 @@ void cFemonOsd::Show(void)
m_Frontend = -1; m_Frontend = -1;
return; return;
} }
m_Osd = cOsdProvider::NewOsd(((Setup.OSDWidth - OSDWIDTH) / 2) + Setup.OSDLeft, ((Setup.OSDHeight - OSDHEIGHT) / 2) + Setup.OSDTop); m_Osd = cOsdProvider::NewOsd(((Setup.OSDWidth - OSDWIDTH) / 2) + Setup.OSDLeft + femonConfig.osdoffset, ((Setup.OSDHeight - OSDHEIGHT) / 2) + Setup.OSDTop);
if (m_Osd) { if (m_Osd) {
tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, 4 } }; tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, 4 } };
if (m_Osd->CanHandleAreas(Areas1, sizeof(Areas1) / sizeof(tArea)) == oeOk) { if (m_Osd->CanHandleAreas(Areas1, sizeof(Areas1) / sizeof(tArea)) == oeOk) {
@ -1057,9 +1057,8 @@ eOSState cFemonOsd::ProcessKey(eKeys Key)
} }
if (cDevice::GetDevice(device)->ProvidesChannel(channel)) { if (cDevice::GetDevice(device)->ProvidesChannel(channel)) {
Dprintf("%s(%d) device(%d)\n", __PRETTY_FUNCTION__, Key, device); Dprintf("%s(%d) device(%d)\n", __PRETTY_FUNCTION__, Key, device);
//if (cDevice::ActualDevice() == cTransferControl::ReceiverDevice()) // 1) tune the channel on the new device
// cControl::Shutdown(); // 2) make the new device to actual device
//cDevice::GetDevice(channel)->SwitchChannel(channel, true);
break; break;
} }
} }

View File

@ -62,7 +62,7 @@ cFemonReceiver::~cFemonReceiver(void)
Detach(); Detach();
if (m_Active) { if (m_Active) {
m_Active = false; m_Active = false;
Cancel(0); Cancel();
} }
} }
@ -259,7 +259,7 @@ void cFemonReceiver::Activate(bool On)
} }
else if (m_Active) { else if (m_Active) {
m_Active = false; m_Active = false;
Cancel(0); Cancel();
} }
} }