📄 viewdibview.h
字号:
// ViewDIBView.h : interface of the CViewDIBView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_VIEWDIBVIEW_H__EED2DFD4_F943_4510_AE0A_5A3BCEBF1633__INCLUDED_)
#define AFX_VIEWDIBVIEW_H__EED2DFD4_F943_4510_AE0A_5A3BCEBF1633__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CViewDIBView : public CScrollView
{
protected: // create from serialization only
CViewDIBView();
DECLARE_DYNCREATE(CViewDIBView)
// Attributes
public:
CViewDIBDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CViewDIBView)
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:
void EffectDisplay(int nEffect);
//自定义消息实现函数
void OnRealizePal(WPARAM wParam,LPARAM lParam);
virtual ~CViewDIBView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CViewDIBView)
afx_msg void OnEffectFadeinout();
afx_msg void OnEffectScandown();
afx_msg void OnUpdateEffectFadeinout(CCmdUI* pCmdUI);
afx_msg void OnEffectHblind();
afx_msg void OnUpdateEffectHblind(CCmdUI* pCmdUI);
afx_msg void OnEffectHraster();
afx_msg void OnUpdateEffectHraster(CCmdUI* pCmdUI);
afx_msg void OnEffectMosaic();
afx_msg void OnUpdateEffectMosaic(CCmdUI* pCmdUI);
afx_msg void OnEffectMovedown();
afx_msg void OnUpdateEffectMovedown(CCmdUI* pCmdUI);
afx_msg void OnEffectMovehcross();
afx_msg void OnUpdateEffectMovehcross(CCmdUI* pCmdUI);
afx_msg void OnEffectMovehsplit();
afx_msg void OnUpdateEffectMovehsplit(CCmdUI* pCmdUI);
afx_msg void OnEffectMoveleft();
afx_msg void OnUpdateEffectMoveleft(CCmdUI* pCmdUI);
afx_msg void OnEffectMoveright();
afx_msg void OnUpdateEffectMoveright(CCmdUI* pCmdUI);
afx_msg void OnEffectMoveup();
afx_msg void OnUpdateEffectMoveup(CCmdUI* pCmdUI);
afx_msg void OnEffectMovevcross();
afx_msg void OnUpdateEffectMovevcross(CCmdUI* pCmdUI);
afx_msg void OnEffectMovevsplit();
afx_msg void OnUpdateEffectMovevsplit(CCmdUI* pCmdUI);
afx_msg void OnUpdateEffectScandown(CCmdUI* pCmdUI);
afx_msg void OnEffectScanhsplit();
afx_msg void OnUpdateEffectScanhsplit(CCmdUI* pCmdUI);
afx_msg void OnEffectScanleft();
afx_msg void OnUpdateEffectScanleft(CCmdUI* pCmdUI);
afx_msg void OnEffectScanright();
afx_msg void OnUpdateEffectScanright(CCmdUI* pCmdUI);
afx_msg void OnEffectScanup();
afx_msg void OnUpdateEffectScanup(CCmdUI* pCmdUI);
afx_msg void OnEffectScanvsplit();
afx_msg void OnUpdateEffectScanvsplit(CCmdUI* pCmdUI);
afx_msg void OnEffectVblind();
afx_msg void OnUpdateEffectVblind(CCmdUI* pCmdUI);
afx_msg void OnEffectVraster();
afx_msg void OnUpdateEffectVraster(CCmdUI* pCmdUI);
afx_msg void OnEffectTrans();
afx_msg void OnUpdateEffectTrans(CCmdUI* pCmdUI);
afx_msg void OnGeometricCut();
afx_msg void OnGeometricCrop();
afx_msg void OnGeometricMerge();
afx_msg void OnGeometricZoom();
afx_msg void OnGeometricCanvas();
afx_msg void OnGeometricRotate();
afx_msg void OnGeometricFliphorz();
afx_msg void OnGeometricFlipvert();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ViewDIBView.cpp
inline CViewDIBDoc* CViewDIBView::GetDocument()
{ return (CViewDIBDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIEWDIBVIEW_H__EED2DFD4_F943_4510_AE0A_5A3BCEBF1633__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -