-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDIP_FinalView.h
executable file
·100 lines (86 loc) · 2.8 KB
/
DIP_FinalView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// DIP_FinalView.h : interface of the CDIP_FinalView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_DIP_FINALVIEW_H__5DB508F8_7AB4_40FF_8296_B24D92766628__INCLUDED_)
#define AFX_DIP_FINALVIEW_H__5DB508F8_7AB4_40FF_8296_B24D92766628__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDIP_FinalView : public CView
{
protected: // create from serialization only
CDIP_FinalView();
DECLARE_DYNCREATE(CDIP_FinalView)
// Attributes
public:
CDIP_FinalDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDIP_FinalView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDIP_FinalView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDIP_FinalView)
afx_msg void OnInvert();
afx_msg void OnLiner();
afx_msg void OnHgdlg();
afx_msg void OnHistoave();
afx_msg void OnPeppernoise();
afx_msg void OnRandomnoise();
afx_msg void OnGradsharp();
afx_msg void OnLapchange();
afx_msg void OnMidchange();
afx_msg void OnSuofang();
afx_msg void OnMirror();
afx_msg void OnMirror2();
afx_msg void OnXuanzhuan();
afx_msg void OnPingyi();
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 OnErzhi();
afx_msg void OnFushi();
afx_msg void OnPengzhang();
afx_msg void OnTiqu();
afx_msg void OnJiabianjie();
afx_msg void OnTiqu2();
afx_msg void OnFileSave();
afx_msg void OnWeicai();
afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
afx_msg void OnColortogrey();
afx_msg void OnTiquLap();
afx_msg void OnTiquSobel();
afx_msg void OnPinghua();
afx_msg void OnRegionGrow();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
bool m_IsSelected;
bool m_LRchoose;
CPoint m_point;
};
#ifndef _DEBUG // debug version in DIP_FinalView.cpp
inline CDIP_FinalDoc* CDIP_FinalView::GetDocument()
{ return (CDIP_FinalDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIP_FINALVIEW_H__5DB508F8_7AB4_40FF_8296_B24D92766628__INCLUDED_)