drawbmp.h

来自「直方图的相关操作」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_DRAWBMP_H__F2FFE53E_5D18_4D03_B13C_F65C682910DD__INCLUDED_)
#define AFX_DRAWBMP_H__F2FFE53E_5D18_4D03_B13C_F65C682910DD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DrawBmp.h : header file
//
#include "cdib.h"
#include "Image.h"

/////////////////////////////////////////////////////////////////////////////
// DrawBmp window

class DrawBmp : public CStatic
{
// Construction
public:
	DrawBmp();

// Attributes
public:
	CDib     m_dib;
	CImage   m_image;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DrawBmp)
	//}}AFX_VIRTUAL

// Implementation
public:
	void RGB2YUV();
	void ReDraw();
	virtual ~DrawBmp();

	// Generated message map functions
protected:
	//{{AFX_MSG(DrawBmp)
	afx_msg void OnPaint();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnHotItemChangeButton1(NMHDR *pNMHDR, LRESULT *pResult);
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DRAWBMP_H__F2FFE53E_5D18_4D03_B13C_F65C682910DD__INCLUDED_)

⌨️ 快捷键说明

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