📄 showdibview.h
字号:
// ShowDIBView.h : interface of the CShowDIBView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SHOWDIBVIEW_H__75A589AC_0FE7_11D1_813A_0020AF337325__INCLUDED_)
#define AFX_SHOWDIBVIEW_H__75A589AC_0FE7_11D1_813A_0020AF337325__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "DIB.h"
class CShowDIBView : public CView
{
protected: // create from serialization only
CShowDIBView();
DECLARE_DYNCREATE(CShowDIBView)
// Attributes
public:
CShowDIBDoc* GetDocument();
// unsigned char *m_lpDIBBuffer;
// BITMAPINFOHEADER *m_lpBIH;
CDib m_Dib;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowDIBView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CShowDIBView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CShowDIBView)
afx_msg void OnFileOpen();
afx_msg void OnIIdct();
afx_msg void OnFile8bit();
afx_msg void OnFile24bit();
afx_msg void OnProcessMf();
afx_msg void OnProcessC2g();
afx_msg void OnProcessBa();
afx_msg void OnProcessCa();
afx_msg void OnProcessFc();
afx_msg void OnProcessEd();
afx_msg void OnFile12bit();
afx_msg void OnProcessLpf();
afx_msg void OnProcessHpf();
afx_msg void OnProcessEi();
afx_msg void OnStyleStretched();
afx_msg void OnStyleNormal();
afx_msg void OnProcessBb();
afx_msg void OnMenuitem32791();
afx_msg void OnFileSave();
afx_msg void OnMenuitem32793();
afx_msg void OnPROCESS2value();
afx_msg void OnPROCESSMAXvalue();
afx_msg void OnPROCESSMINvalue();
afx_msg void OnPROCESSAVERAGEvalue();
afx_msg void OnPROCESSSTATICSvalue();
afx_msg void OnPROCESSHISTOGRAMvalue();
afx_msg void OnPROCESSMEDIvalue();
afx_msg void OnPROCESSSOBELvalue();
afx_msg void OnPROCESSDCTvalue();
afx_msg void OnPROCESSIDCTvalue();
afx_msg void NN();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int ImageStyle; // 0: Normal ; non_zero: Stretched
};
#ifndef _DEBUG // debug version in ShowDIBView.cpp
inline CShowDIBDoc* CShowDIBView::GetDocument()
{ return (CShowDIBDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHOWDIBVIEW_H__75A589AC_0FE7_11D1_813A_0020AF337325__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -