diff options
author | George Hazan <george.hazan@gmail.com> | 2016-03-03 14:07:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-03-03 14:07:30 +0000 |
commit | 44223012ce0fa631cc5af6fc588166bccc3a66f6 (patch) | |
tree | ce2964a947203e59056e7987dc675c21d291b222 /plugins/SmileyAdd/src/imagecache.h | |
parent | 5357bfc0d1ca654ae51f71ca67a8faad0d5b5264 (diff) |
- more obsolete shit removed;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16404 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src/imagecache.h')
-rw-r--r-- | plugins/SmileyAdd/src/imagecache.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/plugins/SmileyAdd/src/imagecache.h b/plugins/SmileyAdd/src/imagecache.h index 615dbecc44..da019301a9 100644 --- a/plugins/SmileyAdd/src/imagecache.h +++ b/plugins/SmileyAdd/src/imagecache.h @@ -35,19 +35,19 @@ public: void ProcessTimerTick(time_t ts);
- virtual void GetSize(SIZE& /* size */) {};
+ virtual void GetSize(SIZE&) {};
virtual int GetFrameCount(void) const { return 0; }
virtual int GetFrameDelay(void) const { return 0; }
virtual HICON GetIcon(void) { return NULL; };
- virtual void DrawInternal(HDC /* dc */, int /* x */, int /* y */, int /* sizeX */, int /* sizeY */) {};
- virtual void SelectFrame(int /* frame */) {}
+ virtual void DrawInternal(HDC, int, int, int, int) {};
+ virtual void SelectFrame(int) {}
bool IsAnimated(void) const { return GetFrameCount() > 1; }
HBITMAP GetBitmap(COLORREF bkgClr, int sizeX, int sizeY);
void Draw(HDC dc, RECT &rc, bool clip);
int SelectNextFrame(const int frame);
- static int CompareImg(const ImageBase* p1, const ImageBase* p2);
+ static int CompareImg(const ImageBase *p1, const ImageBase *p2);
};
@@ -66,12 +66,12 @@ private: HICON m_SmileyIcon;
public:
- IconType(const unsigned id, const CMString& file, const int index, const IcoTypeEnum type);
+ IconType(const unsigned id, const CMString &file, const int index, const IcoTypeEnum type);
~IconType();
void DrawInternal(HDC dc, int x, int y, int sizeX, int sizeY);
HICON GetIcon(void);
- void GetSize(SIZE& size);
+ void GetSize(SIZE &size);
};
@@ -86,7 +86,7 @@ public: void DrawInternal(HDC dc, int x, int y, int sizeX, int sizeY);
HICON GetIcon(void);
- void GetSize(SIZE& size);
+ void GetSize(SIZE &size);
};
@@ -101,18 +101,18 @@ private: public:
- ImageType(const unsigned id, const CMString& file, IStream* pStream);
- ImageType(const unsigned id, const CMString& file, const int index, const IcoTypeEnum type);
+ ImageType(const unsigned id, const CMString &file, IStream *pStream);
+ ImageType(const unsigned id, const CMString &file, const int index, const IcoTypeEnum type);
~ImageType();
- void SelectFrame(int frame);
+ void SelectFrame(int frame);
- void DrawInternal(HDC dc, int x, int y, int sizeX, int sizeY);
+ void DrawInternal(HDC dc, int x, int y, int sizeX, int sizeY);
HICON GetIcon(void);
- void GetSize(SIZE& size);
+ void GetSize(SIZE &size);
- int GetFrameDelay(void) const;
- int GetFrameCount(void) const { return m_nFrameCount; }
+ int GetFrameDelay(void) const;
+ int GetFrameCount(void) const { return m_nFrameCount; }
};
class ImageFType : public ImageBase
@@ -123,15 +123,15 @@ protected: public:
ImageFType(const unsigned id);
- ImageFType(const unsigned id, const CMString& file);
+ ImageFType(const unsigned id, const CMString &file);
~ImageFType();
- void DrawInternal(HDC dc, int x, int y, int sizeX, int sizeY);
+ void DrawInternal(HDC dc, int x, int y, int sizeX, int sizeY);
HICON GetIcon(void);
- void GetSize(SIZE& size);
+ void GetSize(SIZE &size);
};
-ImageBase* AddCacheImage(const CMString& file, int index);
+ImageBase* AddCacheImage(const CMString &file, int index);
void InitImageCache(void);
void DestroyImageCache(void);
|