processdlg.h
来自「阮秋琦的数字图像处理学一书所附的代码」· C头文件 代码 · 共 57 行
H
57 行
#if !defined(AFX_PROCESSDLG_H__14102941_37EC_11D4_A24C_0000E8235905__INCLUDED_)
#define AFX_PROCESSDLG_H__14102941_37EC_11D4_A24C_0000E8235905__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProcessDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CProcessDlg dialog
#include "ImageWnd.h"
class CProcessDlg : public CDialog
{
// Construction
public:
int Performed;
CImageWnd *pDest;
const char *Introduce;
CProcessDlg(CWnd* pParent = NULL); // standard constructor
BYTE *lpInput;
int nWidth,nHeight;
void (*Process1)(int nWidth,int nHeight,BYTE *lpInput,BYTE *lpOutput,void (*Progress)(int Pos));
void (*Process2)(int nWidth,int nHeight,BYTE *lpInput,BYTE *lpOutput,void (*Progress)(int Pos));
void (*Process3)(int nWidth,int nHeight,BYTE *lpInput,BYTE *lpOutput,void (*Progress)(int Pos));
void (*Process4)(int nWidth,int nHeight,BYTE *lpInput,BYTE *lpOutput,void (*Progress)(int Pos));
const char *Option1,*Option2,*Option3,*Option4;
// Dialog Data
//{{AFX_DATA(CProcessDlg)
enum { IDD = IDD_PROCESS };
CProgressCtrl m_Progress;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProcessDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CProcessDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROCESSDLG_H__14102941_37EC_11D4_A24C_0000E8235905__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?