From f2a4ea2dc8c0d915e0f2af6f4ec1a228e1e94453 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Fri, 25 Jun 2004 17:54:38 +0000 Subject: - on devices capable of full-color OSD, bpp's have no meaning anymore (but will still work like usual). On such devices, a full-screen 8-bit OSD will be used - new display-item "PresentTextDescription" displays combined ShortText/Description - displaying replay symbols only if information is actually available - exchanged x, y, width, height with x1, y1, x2, y2 coordinates (skin version is now 0.0.3) - coordinates may be negative to respect dynamic OSD settings (negative coordinates give pixels from the right or bottom edge) - added base parameter to Skin item to be able to use full screen in absolute mode - added a script to convert 0.0.2 skins to 0.0.3 - added parsing quoted texts (path="Bla.jpg" etc. will work correctly now) - fixed translator to escape the dollar sign - fixed display of scrollbar (REALLY!) - fixed linkage of libMagick++ --- render.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'render.h') diff --git a/render.h b/render.h index b47db56..279a401 100644 --- a/render.h +++ b/render.h @@ -1,5 +1,5 @@ /* - * $Id: render.h,v 1.22 2004/06/16 18:46:50 lordjaxom Exp $ + * $Id: render.h,v 1.24 2004/06/24 18:37:30 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_RENDER_H @@ -26,6 +26,8 @@ class cText2SkinRender: public cThread { friend class cText2SkinDisplayMenu; private: + static cText2SkinRender *mRender; + cText2SkinData *mData; cText2SkinI18n *mI18n; cText2SkinTheme *mTheme; @@ -56,6 +58,7 @@ private: // replay display string mReplayTitle; + bool mReplayInfo; bool mReplayPlay; bool mReplayForward; int mReplaySpeed; @@ -98,6 +101,10 @@ private: cCondVar mDoUpdate; cMutex mMutex; int mUpdateIn; + + // coordinate transformation + eBaseCoordinate mBase; + SIZE mBaseSize; protected: // Update thread @@ -157,6 +164,8 @@ public: cText2SkinRender(cText2SkinLoader *Loader, eSkinSection Section); virtual ~cText2SkinRender(); + static POINT Transform(const POINT &Pos); + void Flush(void) { Lock(); mDoUpdate.Broadcast(); Unlock(); } }; -- cgit v1.2.3