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:
parent
ca954757db
commit
5bda0fa833
4
HISTORY
4
HISTORY
@ -137,3 +137,7 @@ VDR Plugin 'femon' Revision History
|
||||
- Minor modification for DEBUG mode.
|
||||
- Added preliminary support for themes and some GUI tweaks.
|
||||
- Added horizontal offset setup option.
|
||||
|
||||
2005-02-26: Version 0.8.6
|
||||
|
||||
- Horizontal offset setup option should be functional now.
|
||||
|
2
femon.h
2
femon.h
@ -11,7 +11,7 @@
|
||||
|
||||
#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 *MAINMENUENTRY = "Signal Information";
|
||||
|
||||
|
@ -884,7 +884,7 @@ void cFemonOsd::Show(void)
|
||||
m_Frontend = -1;
|
||||
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) {
|
||||
tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, 4 } };
|
||||
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)) {
|
||||
Dprintf("%s(%d) device(%d)\n", __PRETTY_FUNCTION__, Key, device);
|
||||
//if (cDevice::ActualDevice() == cTransferControl::ReceiverDevice())
|
||||
// cControl::Shutdown();
|
||||
//cDevice::GetDevice(channel)->SwitchChannel(channel, true);
|
||||
// 1) tune the channel on the new device
|
||||
// 2) make the new device to actual device
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ cFemonReceiver::~cFemonReceiver(void)
|
||||
Detach();
|
||||
if (m_Active) {
|
||||
m_Active = false;
|
||||
Cancel(0);
|
||||
Cancel();
|
||||
}
|
||||
}
|
||||
|
||||
@ -259,7 +259,7 @@ void cFemonReceiver::Activate(bool On)
|
||||
}
|
||||
else if (m_Active) {
|
||||
m_Active = false;
|
||||
Cancel(0);
|
||||
Cancel();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user