diff options
Diffstat (limited to 'plugins/AVS/src/image_utils.h')
-rw-r--r-- | plugins/AVS/src/image_utils.h | 34 |
1 files changed, 2 insertions, 32 deletions
diff --git a/plugins/AVS/src/image_utils.h b/plugins/AVS/src/image_utils.h index 1807e20132..e69e3b8b69 100644 --- a/plugins/AVS/src/image_utils.h +++ b/plugins/AVS/src/image_utils.h @@ -1,38 +1,8 @@ #ifndef __IMAGE_UTILS_H__
# define __IMAGE_UTILS_H__
-#define _WIN32_WINNT 0x0501
-#include <windows.h>
-
-#include <m_avatars.h>
-
-
-// Load an image
-// wParam = NULL
-// lParam = filename
-INT_PTR BmpFilterLoadBitmap32(WPARAM wParam,LPARAM lParam);
-
-// Save an HBITMAP to an image
-// wParam = HBITMAP
-// lParam = full path of filename
-INT_PTR BmpFilterSaveBitmap(WPARAM wParam,LPARAM lParam);
-INT_PTR BmpFilterSaveBitmapW(WPARAM wParam,LPARAM lParam);
-#define BmpFilterSaveBitmapT BmpFilterSaveBitmapW
-
-// Returns != 0 if can save that type of image, = 0 if cant
-// wParam = 0
-// lParam = PA_FORMAT_* // image format
-INT_PTR BmpFilterCanSaveBitmap(WPARAM wParam,LPARAM lParam);
-
-// Returns a copy of the bitmap with the size especified or the original bitmap if nothing has to be changed
-// wParam = ResizeBitmap *
-// lParam = NULL
-INT_PTR BmpFilterResizeBitmap(WPARAM wParam,LPARAM lParam);
-
-
-int BmpFilterSaveBitmap(HBITMAP hBmp, char *szFile, int flags);
-int BmpFilterSaveBitmapW(HBITMAP hBmp, wchar_t *wszFile, int flags);
-#define BmpFilterSaveBitmapT BmpFilterSaveBitmapW
+HBITMAP BmpFilterLoadBitmap(BOOL *bIsTransparent, const TCHAR *ptszFilename);
+int BmpFilterSaveBitmap(HBITMAP hBmp, const TCHAR *ptszFile, int flags);
HBITMAP CopyBitmapTo32(HBITMAP hBitmap);
|