consinconvertdlg.h

来自「《Visual C++视频技术方案宝典》配套光盘」· C头文件 代码 · 共 62 行

H
62
字号
// ConsinConvertDlg.h : header file
//

#if !defined(AFX_CONSINCONVERTDLG_H__D0FCF878_A00A_421B_A7BB_72F8790B6E08__INCLUDED_)
#define AFX_CONSINCONVERTDLG_H__D0FCF878_A00A_421B_A7BB_72F8790B6E08__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CConsinConvertDlg dialog
#include <complex>
using namespace std;

class CConsinConvertDlg : public CDialog
{
// Construction
public:
	void BmpDCT(LPSTR  pBits,int bWidth,int bHeight,int bLines);
	void DCT(float* tData,float* fData, int num);
	void RapidTrans(complex<float> * tData,complex<float>* fData,int num);
	CConsinConvertDlg(CWnd* pParent = NULL);	// standard constructor

	HBITMAP m_hBmp;
	HBITMAP m_hNewBmp;
	BOOL	m_Convert;
// Dialog Data
	//{{AFX_DATA(CConsinConvertDlg)
	enum { IDD = IDD_CONSINCONVERT_DIALOG };
	CStatic	m_NewImage;
	CStatic	m_Source;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConsinConvertDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CConsinConvertDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnConvert();

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONSINCONVERTDLG_H__D0FCF878_A00A_421B_A7BB_72F8790B6E08__INCLUDED_)

⌨️ 快捷键说明

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