diff options
author | Sascha Volkenandt <sascha@akv-soft.de> | 2004-01-03 23:31:00 +0100 |
---|---|---|
committer | Sascha Volkenandt <sascha@akv-soft.de> | 2004-01-03 23:31:00 +0100 |
commit | 310f5b2a62343d0c9b7624c09efe35828785ef26 (patch) | |
tree | 0cba0f93b262331e30cd5371ec61e414050f32c4 /config.h | |
parent | 4a775c82c82597c65345b3b1fdad71792ef2e486 (diff) | |
download | vdr-plugin-osdpip-310f5b2a62343d0c9b7624c09efe35828785ef26.tar.gz vdr-plugin-osdpip-310f5b2a62343d0c9b7624c09efe35828785ef26.tar.bz2 |
Release version 0.0.2v0.0.2
- Added setup menu
- OSD depth, size and position configurable (see README)
- OSD crop dimensions configurable
- OSD window size is calculated dynamically depending on stream dimensions
- Added translations
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..6141ab8 --- /dev/null +++ b/config.h @@ -0,0 +1,35 @@ +#ifndef VDR_OSDPIP_SETUP_H +#define VDR_OSDPIP_SETUP_H + +#include <vdr/plugin.h> + +struct cOsdPipSetup { + cOsdPipSetup(void); + + bool SetupParse(const char *Name, const char *Value); + + int XPosition; + int YPosition; + int CropLeft; + int CropRight; + int CropTop; + int CropBottom; + int ZoomFactor; + int ColorDepth; +}; + +extern cOsdPipSetup OsdPipSetup; + +class cOsdPipSetupPage: public cMenuSetupPage { +private: + cOsdPipSetup m_NewOsdPipSetup; + +protected: + virtual void Store(void); + +public: + cOsdPipSetupPage(void); + virtual ~cOsdPipSetupPage(); +}; + +#endif // VDR_OSDPIP_SETUP_H |