17 lines
398 B
C++
17 lines
398 B
C++
#ifndef _DRAWBITMAP_HPP_
|
|
#define _DRAWBITMAP_HPP_
|
|
#include <mdiwin/windows.hpp>
|
|
|
|
class DrawBitmap
|
|
{
|
|
public:
|
|
DrawBitmap(void);
|
|
virtual ~DrawBitmap();
|
|
void drawBitmap(HBITMAP hBitmap)const;
|
|
void drawBitmap(HWND hWnd,HBITMAP hBitmap)const;
|
|
void drawBitmap(HDC hDC,HBITMAP hBitmap,RECT &drawRect,int initRect=TRUE)const;
|
|
void centerRect(HBITMAP hBitmap,RECT &bitmapRect)const;
|
|
private:
|
|
};
|
|
#endif
|