dynsplitview2.h

来自「< VC++图像处理程程序设计>>配套光盘,这是第4章的灰度变」· C头文件 代码 · 共 84 行

H
84
字号
#if !defined(AFX_DYNSPLITVIEW2_H__76E949DA_9CAD_11D1_907F_00A024782894__INCLUDED_)
#define AFX_DYNSPLITVIEW2_H__76E949DA_9CAD_11D1_907F_00A024782894__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DynSplitView2.h : header file
//
#include"DSplitDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CDynSplitView2 view
#include "HuiDuBianHuanDib.h"
#include "CDIB.h"


class CDynSplitView2 : public CView
{
protected:
	CDynSplitView2();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CDynSplitView2)

// Attributes
public:
	CDSplitDoc* GetDocument();
	float midu2[256];
    int state3;

// Operations
public:
	void clearmem2();
		CPalette *CreateBitmapPalette( HuiDuBianHuanDib* pBitmap);
 		CString filename;
		HuiDuBianHuanDib *CDibNew1;
		CDib *CDib1;
		CPalette hPalette;
		int state2;
		void clearmem();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDynSplitView2)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CDynSplitView2();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(CDynSplitView2)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnFilesave();
	afx_msg void OnZhifangtutongji();
	afx_msg void OnFanSeBianHuan();
	afx_msg void OnChuangkoubianhuan();
	afx_msg void OnZheXianBianHuan();
	afx_msg void OnFenbujunhenghua();
	afx_msg void OnPipeibianhuan();
	afx_msg void OnYuantuzhifangtu();
	afx_msg void OnShuipingtouying();
	afx_msg void OnChuizhitouying();
	afx_msg void OnFei0();
	afx_msg void OnGuding();
	afx_msg void OnShuanGuDingFa();
	afx_msg void OnRedZhiFangtu();
	afx_msg void OnBlueZhiFangtu();
	afx_msg void OnGreenZhifangtu();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DYNSPLITVIEW2_H__76E949DA_9CAD_11D1_907F_00A024782894__INCLUDED_)

⌨️ 快捷键说明

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