From 549a26af276a84cad4c99feaad7d1cafa6baf277 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Jun 2007 14:02:02 +0200 Subject: Implemented cOsd::SetOsdPosition() etc --- osd.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'osd.c') 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++) -- cgit v1.2.3