FH98ViewOnPlaneSoftware/Src/CH91PayloadSoftware/BackgroundUtil.h

26 lines
487 B
C

#ifndef _BACKGROUNDUTIL_H_
#define _BACKGROUNDUTIL_H_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CBackgroundUtil
{
public:
BOOL SetBitmap(UINT uResourceID = 0);
CBackgroundUtil();
virtual ~CBackgroundUtil();
protected:
BOOL TileBitmap(CDC* pDC, CRect rc);
BOOL GetBitmapAndPalette(UINT nIDResource, CBitmap& bitmap, CPalette& pal);
// For background bitmap
CBitmap m_BmpPattern;
CPalette m_BmpPalette;
int m_nBmpWidth;
int m_nBmpHeight;
};
#endif