📄 showpixview.h
字号:
// ShowPixView.h : interface of the CShowPixView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SHOWPIXVIEW_H__C00F6864_3DD9_4436_8BD2_8109F3DA759D__INCLUDED_)
#define AFX_SHOWPIXVIEW_H__C00F6864_3DD9_4436_8BD2_8109F3DA759D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CShowPixView : public CScrollView
{
protected: // create from serialization only
CShowPixView();
DECLARE_DYNCREATE(CShowPixView)
// Attributes
public:
CShowPixDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowPixView)
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
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
int m_flag;
PBITMAPINFO m_info;
PBYTE m_pData;
BOOL m_bImage;
virtual ~CShowPixView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CShowPixView)
afx_msg void OnShowpix();
afx_msg void OnSmooth();
afx_msg void OnSmooth1();
afx_msg void OnFilter();
afx_msg void OnRuihua();
afx_msg void OnSoble();
afx_msg void OnGaus();
afx_msg void OnFileOpen();
afx_msg void OnMove();
afx_msg void OnXmirro();
afx_msg void OnYmirro();
afx_msg void OnTranspose();
afx_msg void OnStretch();
afx_msg void OnRotate();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ShowPixView.cpp
inline CShowPixDoc* CShowPixView::GetDocument()
{ return (CShowPixDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHOWPIXVIEW_H__C00F6864_3DD9_4436_8BD2_8109F3DA759D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -