summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-06-17 14:02:02 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-06-17 14:02:02 +0200
commit549a26af276a84cad4c99feaad7d1cafa6baf277 (patch)
tree9bb6515eeeda3726b93468c11afe623c883b2381 /osd.c
parentda376c060349470a5c54753f66bb0305746b8f78 (diff)
downloadvdr-549a26af276a84cad4c99feaad7d1cafa6baf277.tar.gz
vdr-549a26af276a84cad4c99feaad7d1cafa6baf277.tar.bz2
Implemented cOsd::SetOsdPosition() etc1.5.4
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index b1319fff..bfc69d64 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.69 2007/06/10 12:16:36 kls Exp $
+ * $Id: osd.c 1.70 2007/06/17 13:54:34 kls Exp $
*/
#include "osd.h"
@@ -642,6 +642,10 @@ const tIndex *cBitmap::Data(int x, int y)
// --- cOsd ------------------------------------------------------------------
+int cOsd::osdLeft = 0;
+int cOsd::osdTop = 0;
+int cOsd::osdWidth = 0;
+int cOsd::osdHeight = 0;
int cOsd::isOpen = 0;
cOsd::cOsd(int Left, int Top)
@@ -664,6 +668,14 @@ cOsd::~cOsd()
isOpen--;
}
+void cOsd::SetOsdPostion(int Left, int Top, int Width, int Height)
+{
+ osdLeft = Left;
+ osdTop = Top;
+ osdWidth = Width;
+ osdHeight = Height;
+}
+
void cOsd::SetAntiAliasGranularity(uint FixedColors, uint BlendColors)
{
for (int i = 0; i < numBitmaps; i++)