diff options
author | Andreas Regel <andreas.regel@powarman.de> | 2005-05-15 12:48:00 +0200 |
---|---|---|
committer | Andreas Regel <andreas.regel@powarman.de> | 2005-05-15 12:48:00 +0200 |
commit | 4df61fcc16983f71ca5ab1d539840f7d04b9d48f (patch) | |
tree | 9768dc226dc0205f9f833e9ce6c6bf5eff4600cc /patches/vdr-osd.diff | |
parent | f4460a2d3b0123c25b398b3c0168604bae2d15ba (diff) | |
download | vdr-plugin-osdpip-0.0.8.tar.gz vdr-plugin-osdpip-0.0.8.tar.bz2 |
Release version 0.0.8v0.0.8
- Added Navigation through channel in a way like with ordinary VDR. Use
the Left/Right keys to select channel groups, OK to choose one or the
number keys to directly enter a channel number. All this only works
with enabled info window.
- Extended the info window to contain more information. The amount of
information shown can be chosen through the setup menu. This directly
affects the height of the info window.
- Using the info window to show vdr messages if they occur.
- Changed the manner the moving of the PiP window works. Now move mode
is enabled or disabled by pressing the green button. In move mode,
the cursor keys can be used to move the PiP window.
- Added some more predefined PiP window sizes. You have to reset your
size in setup menu.
- Added support for ffmpeg 0.4.9 (should work with 0.4.8, too)
- Updated finnish translations (thanks to Rolf Ahrenberg)
- Cleaned up, dropped support for vdr versions older than 1.3.8
Diffstat (limited to 'patches/vdr-osd.diff')
-rw-r--r-- | patches/vdr-osd.diff | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/patches/vdr-osd.diff b/patches/vdr-osd.diff new file mode 100644 index 0000000..0acc0f2 --- /dev/null +++ b/patches/vdr-osd.diff @@ -0,0 +1,51 @@ +diff -Nu vdr-1.3.24/osd.c vdr/osd.c +--- vdr-1.3.24/osd.c 2004-12-19 13:27:38.000000000 +0100 ++++ vdr/osd.c 2005-05-14 13:59:03.000000000 +0200 +@@ -574,7 +574,7 @@ + + // --- cOsd ------------------------------------------------------------------ + +-bool cOsd::isOpen = false; ++int cOsd::isOpen = 0; + + cOsd::cOsd(int Left, int Top) + { +@@ -585,7 +585,7 @@ + left = Left; + top = Top; + width = height = 0; +- isOpen = true; ++ isOpen++; + } + + cOsd::~cOsd() +@@ -593,7 +593,7 @@ + for (int i = 0; i < numBitmaps; i++) + delete bitmaps[i]; + delete savedRegion; +- isOpen = false; ++ isOpen--; + } + + cBitmap *cOsd::GetBitmap(int Area) +diff -Nu vdr-1.3.24/osd.h vdr/osd.h +--- vdr-1.3.24/osd.h 2004-10-16 12:33:44.000000000 +0200 ++++ vdr/osd.h 2005-05-14 13:58:08.000000000 +0200 +@@ -210,7 +210,7 @@ + class cOsd { + friend class cOsdProvider; + private: +- static bool isOpen; ++ static int isOpen; + cBitmap *savedRegion; + cBitmap *bitmaps[MAXOSDAREAS]; + int numBitmaps; +@@ -235,7 +235,7 @@ + public: + virtual ~cOsd(); + ///< Shuts down the OSD. +- static bool IsOpen(void) { return isOpen; } ++ static int IsOpen(void) { return isOpen; } + int Left(void) { return left; } + int Top(void) { return top; } + int Width(void) { return width; } |