diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | xml/skin.c | 12 | ||||
-rw-r--r-- | xml/skin.h | 4 |
3 files changed, 16 insertions, 2 deletions
@@ -114,6 +114,8 @@ ____-__-__: Version 1.3 (references #142) - Updated README.de - Completed documentation of new tokens (closes #142) +- Added HD patch with new absolute modes: abs1280x720, abs1920x1080 (thanks to + gda@vdrportal) 2009-06-01: Version 1.2 @@ -7,7 +7,7 @@ #include <vdr/tools.h> #include <vdr/config.h> -const std::string ScreenBases[] = { "relative", "absolute" }; +const std::string ScreenBases[] = { "relative", "absolute", "abs1280x720", "abs1920x1080" }; cxVersion::cxVersion(int ma, int min): mMajor(ma), @@ -63,6 +63,16 @@ void cxSkin::SetBase(eScreenBase Base) mBaseSize = txSize(720, 576); //XXX break; + case abs1280x720: + mBaseOffset = txPoint(0, 0); + mBaseSize = txSize(1280, 720); //XXX + break; + + case abs1920x1080: + mBaseOffset = txPoint(0, 0); + mBaseSize = txSize(1920, 1080); //XXX + break; + default: break; } @@ -65,7 +65,9 @@ public: enum eScreenBase { relative, absolute, -#define __COUNT_BASE__ (absolute + 1) + abs1280x720, + abs1920x1080, +#define __COUNT_BASE__ (abs1920x1080 + 1) }; private: |