diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2009-05-03 17:15:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2009-05-03 17:15:00 +0200 |
commit | 991eda006700f1703bcec528c1ff178a4cab9048 (patch) | |
tree | 11f216938606e63027bc717e3d36668df646f474 /menuitems.h | |
parent | 733a2becc44a02daf10b97d24b8a9c8b00de3964 (diff) | |
download | vdr-patch-lnbsharing-991eda006700f1703bcec528c1ff178a4cab9048.tar.gz vdr-patch-lnbsharing-991eda006700f1703bcec528c1ff178a4cab9048.tar.bz2 |
Version 1.7.7vdr-1.7.7
- The new function cDevice::GetVideoSize() returns the size and aspect ratio
of the video material currently displayed. This function is used to determine
the proper size of the OSD. Plugin authors should implement this function in
classes derived from cDevice, if they are able to replay video.
- The OSD and font sizes are now defined in percent of the actual video display
size. The maximum OSD size has been raised to 1920x1080, to allow full
screen OSD on HD systems.
- The OSD size is now automatically adjusted to the actual video display
(provided the output device implements the GetVideoSize() function).
- cFrameDetector::Analyze() now syncs on the TS packet sync bytes (thanks to
Oliver Endriss for reporting broken index generation after a buffer overflow).
Diffstat (limited to 'menuitems.h')
-rw-r--r-- | menuitems.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/menuitems.h b/menuitems.h index 8d68b7d..4832475 100644 --- a/menuitems.h +++ b/menuitems.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menuitems.h 2.1 2008/04/12 12:03:59 kls Exp $ + * $Id: menuitems.h 2.2 2009/05/03 12:50:34 kls Exp $ */ #ifndef __MENUITEMS_H @@ -64,6 +64,18 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cMenuEditPrcItem : public cMenuEditItem { +protected: + double *value; + double min, max; + int decimals; + int factor; + virtual void Set(void); +public: + cMenuEditPrcItem(const char *Name, double *Value, double Min = 0.0, double Max = 1.0, int Decimals = 0); + virtual eOSState ProcessKey(eKeys Key); + }; + class cMenuEditChrItem : public cMenuEditItem { private: char *value; |