From 3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 13 Jun 2004 18:40:59 +0000 Subject: - added parameter alpha for images - added ReplayMode as Logo to display a replaylogo (normal, vcd, mp3, dvd, ...) - added some german and finnish (thx to Rolf Ahrenberg) translations - fixed VPSTime which was displayed although is was equal to the StartTime - fixed MenuItems which displayed non-Text items periodically - fixed calculation of the editable width in the main menu - fixed animation delay (specified in 1/100th, used 1/1000th) - flushing cache when entering a new display (now the cache basically holds all items necessary in one display) - removed "flush image cache" from setup menu - added "max. cache size" to setup menu --- render.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'render.h') diff --git a/render.h b/render.h index 6903ff8..2433dbf 100644 --- a/render.h +++ b/render.h @@ -1,5 +1,5 @@ /* - * $Id: render.h,v 1.20 2004/06/11 15:01:58 lordjaxom Exp $ + * $Id: render.h,v 1.21 2004/06/12 18:00:05 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_RENDER_H @@ -105,8 +105,8 @@ protected: virtual void Action(void); // Basic operations - void DrawBackground(const POINT &Pos, const SIZE &Size, const tColor *Bg, const tColor *Fg, const string &Path); - void DrawImage(const POINT &Pos, const SIZE &Size, const tColor *Bg, const tColor *Fg, const string &Path); + void DrawBackground(const POINT &Pos, const SIZE &Size, const tColor *Bg, const tColor *Fg, int Alpha, const string &Path); + void DrawImage(const POINT &Pos, const SIZE &Size, const tColor *Bg, const tColor *Fg, int Alpha, const string &Path); void DrawText(const POINT &Pos, const SIZE &Size, const tColor *Fg, const string &Text, const cFont *Font, int Align); void DrawRectangle(const POINT &Pos, const SIZE &Size, const tColor *Fg); void DrawEllipse(const POINT &Pos, const SIZE &Size, const tColor *Fg, int Arc); @@ -135,6 +135,7 @@ protected: void DisplayReplayTitle(cText2SkinItem *Item); void DisplayReplayPrompt(cText2SkinItem *Item); void DisplayReplaySymbol(cText2SkinItem *Item); + void DisplayReplayMode(cText2SkinItem *Item); void DisplayMessage(cText2SkinItem *Item); void DisplayMenuTitle(cText2SkinItem *Item); void DisplayMenuButton(cText2SkinItem *Item); -- cgit v1.2.3