summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitmap.c14
-rw-r--r--bitmap.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/bitmap.c b/bitmap.c
index 8480398..71bfe1d 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.c,v 1.8 2005/01/27 13:03:24 lordjaxom Exp $
+ * $Id: bitmap.c,v 1.9 2005/01/27 17:31:35 lordjaxom Exp $
*/
#include "bitmap.h"
@@ -18,18 +18,6 @@ using namespace Magick;
cxCache<tBitmapSpec,cText2SkinBitmap*> cText2SkinBitmap::mCache(Text2SkinSetup.MaxCacheFill);
-template<>
-void cxCache<tBitmapSpec,cText2SkinBitmap*>::Delete(const tBitmapSpec &Key, cText2SkinBitmap *&Data)
-{
- delete Data;
-}
-
-template<>
-void cxCache<tBitmapSpec,cText2SkinBitmap*>::Reset(cText2SkinBitmap *&Data)
-{
- Data->Reset();
-}
-
cText2SkinBitmap *cText2SkinBitmap::Load(const std::string &Filename, int Alpha, int height,
int width, int colors, bool Quiet) {
tBitmapSpec spec(Filename, Alpha, height, width, colors);
diff --git a/bitmap.h b/bitmap.h
index 9a3c53e..446a94a 100644
--- a/bitmap.h
+++ b/bitmap.h
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.h,v 1.5 2005/01/27 10:53:07 lordjaxom Exp $
+ * $Id: bitmap.h,v 1.6 2005/01/27 17:31:35 lordjaxom Exp $
*/
#ifndef VDR_TEXT2SKIN_BITMAP_H
@@ -96,4 +96,16 @@ inline void cText2SkinBitmap::SetColor(int Index, tColor Color) {
mBitmaps[mCurrent]->SetColor(Index, Color);
}
+template<>
+void cxCache<tBitmapSpec,cText2SkinBitmap*>::Delete(const tBitmapSpec &Key, cText2SkinBitmap *&Data)
+{
+ delete Data;
+}
+
+template<>
+void cxCache<tBitmapSpec,cText2SkinBitmap*>::Reset(cText2SkinBitmap *&Data)
+{
+ Data->Reset();
+}
+
#endif // VDR_TEXT2SKIN_BITMAP_H