Initial commit: client source
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "GrpBase.h"
|
||||
|
||||
class CGraphicDib;
|
||||
|
||||
class CBlockTexture : public CGraphicBase
|
||||
{
|
||||
public:
|
||||
CBlockTexture();
|
||||
virtual ~CBlockTexture();
|
||||
|
||||
bool Create(CGraphicDib * pDIB, const RECT & c_rRect, DWORD dwWidth, DWORD dwHeight);
|
||||
void SetClipRect(const RECT & c_rRect);
|
||||
void Render(int ix, int iy);
|
||||
void InvalidateRect(const RECT & c_rsrcRect);
|
||||
|
||||
protected:
|
||||
CGraphicDib * m_pDIB;
|
||||
RECT m_rect;
|
||||
RECT m_clipRect;
|
||||
BOOL m_bClipEnable;
|
||||
DWORD m_dwWidth;
|
||||
DWORD m_dwHeight;
|
||||
LPDIRECT3DTEXTURE8 m_lpd3dTexture;
|
||||
};
|
||||
Reference in New Issue
Block a user