summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/bitmap_funcs.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/bitmap_funcs.h')
-rw-r--r--plugins/Popup/src/bitmap_funcs.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Popup/src/bitmap_funcs.h b/plugins/Popup/src/bitmap_funcs.h
index 75af1de6d0..6840e8f89e 100644
--- a/plugins/Popup/src/bitmap_funcs.h
+++ b/plugins/Popup/src/bitmap_funcs.h
@@ -2,9 +2,9 @@
Popup Plus plugin for Miranda IM
Copyright © 2002 Luca Santarelli,
- © 2004-2007 Victor Pavlychko
- © 2010 MPK
- © 2010 Merlin_de
+© 2004-2007 Victor Pavlychko
+© 2010 MPK
+© 2010 Merlin_de
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -43,9 +43,9 @@ private:
void freemem();
- bool loadFromFile_pixel(const TCHAR *fn, const TCHAR *fnAlpha = 0);
- bool loadFromFile_gradient(const TCHAR *fn, const TCHAR *fnAlpha = 0);
- bool loadFromFile_png(const TCHAR *fn, const TCHAR *fnAlpha = 0);
+ bool loadFromFile_pixel(const TCHAR *fn);
+ bool loadFromFile_gradient(const TCHAR *fn);
+ bool loadFromFile_png(const TCHAR *fn);
bool loadFromFile_default(const TCHAR *fn, const TCHAR *fnAlpha = 0);
void premultipleChannels();
@@ -66,7 +66,7 @@ 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 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);
@@ -74,7 +74,7 @@ public:
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 DrawNoAlpha(MyBitmap *bmp, int x, int y);
void Blend(MyBitmap *bmp, int x, int y, int w, int h);
void Draw(MyBitmap *bmp, int x, int y, int w, int h);
@@ -85,8 +85,8 @@ public:
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 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 Draw_Text(TCHAR *str, int x, int y);