📄 dlgintensity.h
字号:
#if !defined(AFX_DLGINTENSITY_H__966BFD9E_1063_4646_8128_72B93F48EC13__INCLUDED_)
#define AFX_DLGINTENSITY_H__966BFD9E_1063_4646_8128_72B93F48EC13__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgIntensity.h : header file
//
#include "DIBApi.h"
#include "hwpreView.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgIntensity dialog
class CDlgIntensity : public CDialog
{
private:
using CDialog::Create;
UINT m_grayHigh;
UINT m_grayLow;
// Construction
public:
int m_iIsDraging; // 当前鼠标拖动状态,0表示未拖动,1表示正在拖动
HDIB hDibSource ,hDibDest;
LONG m_lCount[256];
// DIB的高度
LONG m_lHeight;
// DIB的宽度
LONG m_lWidth;
LONG m_lLineBytes;
CDlgIntensity(CWnd* pParent = NULL); // standard constructor
BOOL Create();
// Dialog Data
//{{AFX_DATA(CDlgIntensity)
enum { IDD = IDD_DLG_INTENSITY };
UINT m_intThre;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgIntensity)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
CRect m_MouseRect;
CWnd * m_pParent ;
int m_nID;
// Generated message map functions
//{{AFX_MSG(CDlgIntensity)
virtual BOOL OnInitDialog();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnKillfocusEditThre();
virtual void OnOK();
afx_msg void OnPaint();
virtual void OnCancel();
afx_msg void OnChangeEditThre();
afx_msg void OnBtnEqua();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGINTENSITY_H__966BFD9E_1063_4646_8128_72B93F48EC13__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -