diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-24 15:08:20 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-24 15:08:20 +0000 |
commit | 04209d6e6d0e33082d82c5ff33bfdb0b3bc40c36 (patch) | |
tree | e204437f04c80bbd5afea46ec914fffcfc42e95b /splashscreen/src/bitmap_funcs.h | |
parent | 0a6b3eb280b298dc485d60155e6958185501225f (diff) |
splashscreen:
rewritten to Unicode
not used mirandaboot.ini, save settings in db
support mp3
code optimization
version bump
added open file dialog filter translation
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@19 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'splashscreen/src/bitmap_funcs.h')
-rw-r--r-- | splashscreen/src/bitmap_funcs.h | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/splashscreen/src/bitmap_funcs.h b/splashscreen/src/bitmap_funcs.h index 83f22bd..f82e909 100644 --- a/splashscreen/src/bitmap_funcs.h +++ b/splashscreen/src/bitmap_funcs.h @@ -26,10 +26,10 @@ private: public:
MyBitmap();
MyBitmap(int w, int h);
- MyBitmap(const char *fn, const char *fnAlpha = 0);
+ MyBitmap(TCHAR *fn, TCHAR *fnAlpha = 0);
~MyBitmap();
- bool loadFromFile(const char *fn, const char *fnAlpha = 0);
+ bool loadFromFile(TCHAR *fn, TCHAR *fnAlpha = 0);
int getWidth() { return width; }
int getHeight() { return height; }
@@ -39,40 +39,12 @@ public: void makeOpaque();
- /*
- void makeOpaqueRect(int x1, int y1, int x2, int y2);
- void makeOpaqueRect(RECT rc) { makeOpaqueRect(rc.left, rc.top, rc.right, rc.bottom); }
- */
void saveAlpha(int x = 0, int y = 0, int w = 0, int h = 0);
void restoreAlpha(int x = 0, int y = 0, int w = 0, int h = 0);
- /*
- void DrawBits(COLOR32 *inbits, int inw, int inh, int x, int y, int w, int h);
- void BlendBits(COLOR32 *inbits, int inw, int inh, int x, int y, int w, int h);
-
- void DrawNoAlpha(MyBitmap *bmp, int x, int y, int w, int h);
- */
void Blend(MyBitmap *bmp, int x, int y, int w, int h);
- /*
- void Draw(MyBitmap *bmp, int x, int y, int w, int h);
-
- void BlendColorized(MyBitmap *bmp, int x, int y, int w, int h, COLOR32 color);
- void DrawColorized(MyBitmap *bmp, int x, int y, int w, int h, COLOR32 color);
-
- void BlendPart(MyBitmap *bmp, int xin, int yin, int win, int hin, int x, int y, int w, int h);
- void BlendPartColorized(MyBitmap *bmp, int xin, int yin, int win, int hin, int x, int y, int w, int h, COLOR32 color);
- void DrawPart(MyBitmap *bmp, int xin, int yin, int win, int hin, int x, int y, int w, int h);
-// void DrawPartNoAlpha(MyBitmap *bmp, int x, int y, int w, int h);
-// void DrawPartColorized(MyBitmap *bmp, int x, int y, int w, int h, COLOR32 color);
-
- void DrawIcon(HICON hic, int x, int y, int w = 0, int h = 0);
- */
- void DrawText(char *str, int x, int y);
- /*
- void DrawTextW(WCHAR *str, int x, int y);
- */
-
+ void DrawText(TCHAR *str, int x, int y);
inline COLOR32 *getBits() { return bits; }
inline COLOR32 *getRow(int row) { return bits + row * width; }
|