⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 magicscissorsview.h

📁 刚上传内容的相关CODEC不能单独上传。于是
💻 H
字号:
// MagicScissorsView.h : interface of the CMagicScissorsView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAGICSCISSORSVIEW_H__39C254D8_7F0D_46A7_BCC6_B0BF63567818__INCLUDED_)
#define AFX_MAGICSCISSORSVIEW_H__39C254D8_7F0D_46A7_BCC6_B0BF63567818__INCLUDED_

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


class CMagicScissorsView : public CScrollView
{
protected: // create from serialization only
	CMagicScissorsView();
	DECLARE_DYNCREATE(CMagicScissorsView)

// Attributes
public:
	CMagicScissorsDoc* GetDocument();

	void OnChangeSlider(int pos);
// Operations
public:

	BOOL	m_bPlay;
	int		m_nMode;
	BOOL	m_bEdgeStart;

	CPoint	m_ptStart;
	CPoint	m_ptEnd;

	int		m_nPlayMode;

	int		m_nZoom;
	BOOL	m_bScroll;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMagicScissorsView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMagicScissorsView)
	afx_msg void OnPlay();
	afx_msg void OnStop();
	afx_msg void OnPause();
	afx_msg void OnNext();
	afx_msg void OnPrev();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnSegment();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnModify();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnUpdateSegment(CCmdUI* pCmdUI);
	afx_msg void OnUpdateModify(CCmdUI* pCmdUI);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnDeleteRegion();
	afx_msg void OnSmooth();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg void OnCopyprev();
	afx_msg void OnFindedge();
	afx_msg void OnPlayOnly();
	afx_msg void OnUpdatePlayOnly(CCmdUI* pCmdUI);
	afx_msg void OnPlayTrace();
	afx_msg void OnUpdatePlayTrace(CCmdUI* pCmdUI);
	afx_msg void OnZoomIn();
	afx_msg void OnUpdateZoomIn(CCmdUI* pCmdUI);
	afx_msg void OnZoomOut();
	afx_msg void OnUpdateZoomOut(CCmdUI* pCmdUI);
	afx_msg void OnFindFrame();	
	afx_msg void OnToFirst();
	afx_msg void OnToLast();
	afx_msg void OnUpdatePlay(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePrev(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNext(CCmdUI* pCmdUI);
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnDeleteRegions();
	afx_msg void OnMakeActivecontour();
	afx_msg void OnActivecontourEvolve();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in MagicScissorsView.cpp
inline CMagicScissorsDoc* CMagicScissorsView::GetDocument()
   { return (CMagicScissorsDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_MAGICSCISSORSVIEW_H__39C254D8_7F0D_46A7_BCC6_B0BF63567818__INCLUDED_)

⌨️ 快捷键说明

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