*** empty log message ***
[desktopswitcher.git] / png.h
blobd3170af15c8301eaf718b8062ce21e15678b6c0f
1 /////////////////////////////////////////////////////////////////////////////////
2 //
3 // $Id: png.h,v 1.1 2002/06/29 15:03:33 nedko Exp $
4 //
5 // DESCRIPTION:
6 //
7 // NOTES:
8 //
9 /////////////////////////////////////////////////////////////////////////////////
11 #ifndef PNG_H__76DD7C22_846A_4AE0_B01C_813DBDADE3C4__INCLUDED
12 #define PNG_H__76DD7C22_846A_4AE0_B01C_813DBDADE3C4__INCLUDED
14 class CPNGImage
16 public:
17 CPNGImage();
18 ~CPNGImage();
20 bool LoadPNGImage(const char *pszPath);
21 unsigned int GetWidth();
22 unsigned int GetHeight();
23 bool SelectBitmap(HDC hMemoryDC);
24 private:
25 static void PNGAPI PNG_ErrorHandler PNGARG((png_structp s, png_const_charp str));
27 private:
28 unsigned int m_nWidth;
29 unsigned int m_nHeight;
30 unsigned char *m_pData;
33 extern CPNGImage g_Image;
35 #endif // #ifndef PNG_H__76DD7C22_846A_4AE0_B01C_813DBDADE3C4__INCLUDED
37 /////////////////////////////////////////////////////////////////////////////////
39 // Modifications log:
41 // !!! WARNING !!! Following lines are automatically updated by the CVS system.
43 // $Log: png.h,v $
44 // Revision 1.1 2002/06/29 15:03:33 nedko
45 // *** empty log message ***
47 /////////////////////////////////////////////////////////////////////////////////