⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drawdib.h

📁 磁盘容量扫描、但界面和程序结构非常不错
💻 H
字号:
// DrawDib.h: interface for the CDrawDib class.
//
//	Creator : El Barto (ef00@luc.ac.be)
//	Location : http://www.luc.ac.be/~ef00/ebgfx
//	Date : 09-04-98
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DRAWDIB_H__B1E2F1A3_CCA7_11D1_91CA_0020AFF82585__INCLUDED_)
#define AFX_DRAWDIB_H__B1E2F1A3_CCA7_11D1_91CA_0020AFF82585__INCLUDED_

#include  <vfw.h>
#include "Dib.h"
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class CDrawDib  
{
public:
	HDRAWDIB m_hDrawDib;

	HDRAWDIB Open ();
	BOOL Close ();
	
	BOOL Begin ( HDC hdc, int dxDest, int dyDest,
		LPBITMAPINFOHEADER lpbi, int dxSrc, int dySrc, UINT wFlags );
	BOOL End ();

	BOOL Draw ( HDC hdc, int xDst, int yDst,
		int dxDst, int dyDst, LPBITMAPINFOHEADER lpbi, LPVOID lpBits,
		int xSrc, int ySrc, int dxSrc, int dySrc, UINT wFlags );
	BOOL DrawDib ( CDib *Dib, HDC hdc, int xDst, int yDst,
		int dxDst, int dyDst, UINT wFlags );
	
	LPVOID GetBuffer ( LPBITMAPINFOHEADER lpbi,
		DWORD dwSize, DWORD dwFlags );
	
	BOOL ProfileDisplay ( LPBITMAPINFOHEADER lpbi );

	HPALETTE GetPalette ();
	BOOL SetPalette ( HPALETTE hpal );
	BOOL ChangePalette ( HDRAWDIB hdd, int iStart, int iLen,
		LPPALETTEENTRY lppe );
	UINT Realize ( HDC hdc, BOOL fBackground );

	BOOL Start ( LONG rate );
	BOOL Stop ();
	BOOL Time ( LPDRAWDIBTIME lpddtime );

	CDrawDib ();
	virtual ~CDrawDib ();
};

#endif // !defined(AFX_DRAWDIB_H__B1E2F1A3_CCA7_11D1_91CA_0020AFF82585__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -