dlgpointdt.h

来自「其中包括图像压缩的基本编码方法如Huffman编码算术编码JPEG 2000H.」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_DLGPOINTDT_H__5DBE88A1_04E8_11D6_B669_0010DCA65D26__INCLUDED_)
#define AFX_DLGPOINTDT_H__5DBE88A1_04E8_11D6_B669_0010DCA65D26__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgPointDT.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgPointDT dialog
#include "DIP_SystemDoc.h"


class CDlgPointDT : public CDialog
{
// Construction
public:
	CDlgPointDT(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgPointDT)
	enum { IDD = IDD_DLG_POINTDT };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
public:
	CDIP_SystemDoc* m_pDoc; 

	// 各个灰度值的计数
	float m_fIntensity[256];

protected:
	// 当前鼠标拖动状态,0表示未拖动,1表示正在拖动下限,2表示正在拖动上限。
	int		m_iIsDraging;
	
	// 相应鼠标事件的矩形区域
	CRect	m_MouseRect;

	// 窗口的下限
	BYTE	m_bLow;
	
	// 窗口的上限
	BYTE	m_bUp;

protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgPointDT)
	virtual BOOL OnInitDialog();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLGPOINTDT_H__5DBE88A1_04E8_11D6_B669_0010DCA65D26__INCLUDED_)

⌨️ 快捷键说明

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