From f161d1b2fe69d4fcfac37581fa60b5d9ce5ded11 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 3 May 2009 14:15:21 +0200 Subject: OSD sizes in percent; automatic update of OSD size --- device.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'device.h') diff --git a/device.h b/device.h index c3a170b2..74f1277a 100644 --- a/device.h +++ b/device.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 2.9 2009/04/05 12:12:44 kls Exp $ + * $Id: device.h 2.10 2009/05/02 12:16:20 kls Exp $ */ #ifndef __DEVICE_H @@ -56,6 +56,13 @@ enum eVideoSystem { vsPAL, vsNTSC }; +enum eVideoAspect { va4_3, + va16_9, + va221_9 + }; + +extern const char *VideoAspectString[]; + enum eVideoDisplayFormat { vdfPanAndScan, vdfLetterBox, vdfCenterCutOut @@ -377,6 +384,9 @@ public: virtual eVideoSystem GetVideoSystem(void); ///< Returns the video system of the currently displayed material ///< (default is PAL). + virtual void GetVideoSize(int &Width, int &Height, eVideoAspect &Aspect); + ///< Returns the With, Height and Aspect ratio of the currently + ///< displayed material. // Track facilities -- cgit v1.2.3