filtermirrorview.h
来自「这是树上的代码」· C头文件 代码 · 共 81 行
H
81 行
// FilterMirrorView.h : interface of the CFilterMirrorView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_FILTERMIRRORVIEW_H__3CF36EAD_43F6_11D5_A42A_00E04C687D9E__INCLUDED_)
#define AFX_FILTERMIRRORVIEW_H__3CF36EAD_43F6_11D5_A42A_00E04C687D9E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CFilterMirrorView : public CView
{
protected: // create from serialization only
CFilterMirrorView();
DECLARE_DYNCREATE(CFilterMirrorView)
// Attributes
public:
CFilterMirrorDoc* GetDocument();
/////////////********************
/////////////********************
public:
CBitmap* m_bmp;//位图指针
COLORREF m_pxiel[500][500]; //用来存放图像像素的RGB值
int red,green,blue;//分别代表RGB中红、绿、蓝三种颜色值
/////////////********************
/////////////********************
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFilterMirrorView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
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 ~CFilterMirrorView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CFilterMirrorView)
afx_msg void OnPictureYouhua();
afx_msg void OnPictureReturn();
afx_msg void OnPictureMuke();
afx_msg void OnPictureLight();
afx_msg void OnPictureFudiao();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in FilterMirrorView.cpp
inline CFilterMirrorDoc* CFilterMirrorView::GetDocument()
{ return (CFilterMirrorDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILTERMIRRORVIEW_H__3CF36EAD_43F6_11D5_A42A_00E04C687D9E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?