⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 picviewerdoc.h

📁 一个国人自己实现图像库的程序(有参考价值)
💻 H
字号:
// PicViewerDoc.h : interface of the CPicViewerDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_PICVIEWERDOC_H__B15C03FB_3158_42CF_92A6_5F8AB5D26D43__INCLUDED_)
#define AFX_PICVIEWERDOC_H__B15C03FB_3158_42CF_92A6_5F8AB5D26D43__INCLUDED_

#include "..\FLIB\INCLUDE\PIC\Image.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CPicViewerDoc : public CDocument
{
protected: // create from serialization only
	CPicViewerDoc();
	DECLARE_DYNCREATE(CPicViewerDoc)

// Attributes
public :
	FCImage		m_fPic ;
	FCBitmap	m_DDB ;
	BOOL		m_bFirstShow ;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPicViewerDoc)
	public:
	virtual void Serialize(CArchive& ar);
	virtual void DeleteContents();
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	virtual BOOL OnNewDocument();
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPicViewerDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

// Generated message map functions
protected:
	//{{AFX_MSG(CPicViewerDoc)
	afx_msg void OnEmboss();
	afx_msg void OnNegtive();
	afx_msg void OnSharp();
	afx_msg void OnFlip();
	afx_msg void OnMirror();
	afx_msg void OnRotate90();
	afx_msg void OnRotate270();
	afx_msg void OnMosaic();
	afx_msg void OnCountcolor();
	afx_msg void OnAdjustRgb();
	afx_msg void OnAdjustBright();
	afx_msg void OnSmoothAvg();
	afx_msg void OnAdjustHue();
	afx_msg void OnStripe();
	afx_msg void OnMixdib();
	afx_msg void OnEditCopy();
	afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI);
	afx_msg void OnColumn();
	afx_msg void OnEraseframe();
	afx_msg void OnAddframe();
	afx_msg void OnUpdateRotate90(CCmdUI* pCmdUI);
	afx_msg void OnUpdateRotate270(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMirror(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFlip(CCmdUI* pCmdUI);
	afx_msg void OnUpdateAddframe(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEraseframe(CCmdUI* pCmdUI);
	afx_msg void OnAdjustSize();
	afx_msg void OnUpdateAdjustSize(CCmdUI* pCmdUI);
	afx_msg void OnRotateAngle();
	afx_msg void OnUpdateRotateAngle(CCmdUI* pCmdUI);
	afx_msg void OnUpdateAdjustRgb(CCmdUI* pCmdUI);
	afx_msg void OnUpdateAdjustBright(CCmdUI* pCmdUI);
	afx_msg void OnUpdateAdjustHue(CCmdUI* pCmdUI);
	afx_msg void OnUpdateNegtive(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEmboss(CCmdUI* pCmdUI);
	afx_msg void OnConvertTo32();
	afx_msg void OnUpdateConvertTo32(CCmdUI* pCmdUI);
	afx_msg void OnWindy();
	afx_msg void OnUpdateWindy(CCmdUI* pCmdUI);
	afx_msg void OnUpdateSharp(CCmdUI* pCmdUI);
	afx_msg void OnUpdateColumn(CCmdUI* pCmdUI);
	afx_msg void OnUpdateStripe(CCmdUI* pCmdUI);
	afx_msg void OnUpdateSmoothAvg(CCmdUI* pCmdUI);
	afx_msg void OnConvolSharp1();
	afx_msg void OnConvolSharp2();
	afx_msg void OnConvolSharp3();
	afx_msg void OnConvolSmooth1();
	afx_msg void OnConvolSmooth2();
	afx_msg void OnConvolSmooth3();
	afx_msg void OnUpdateConvolSharp1(CCmdUI* pCmdUI);
	afx_msg void OnUpdateConvolSharp2(CCmdUI* pCmdUI);
	afx_msg void OnUpdateConvolSharp3(CCmdUI* pCmdUI);
	afx_msg void OnUpdateConvolSmooth1(CCmdUI* pCmdUI);
	afx_msg void OnUpdateConvolSmooth2(CCmdUI* pCmdUI);
	afx_msg void OnUpdateConvolSmooth3(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceH();
	afx_msg void OnUpdateConvolEnhanceH(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceV();
	afx_msg void OnUpdateConvolEnhanceV(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceLap1();
	afx_msg void OnUpdateConvolEnhanceLap1(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceLap2();
	afx_msg void OnUpdateConvolEnhanceLap2(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceLap3();
	afx_msg void OnUpdateConvolEnhanceLap3(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceLap4();
	afx_msg void OnUpdateConvolEnhanceLap4(CCmdUI* pCmdUI);
	afx_msg void OnConvolEnhanceVh();
	afx_msg void OnUpdateConvolEnhanceVh(CCmdUI* pCmdUI);
	afx_msg void OnConvolUser();
	afx_msg void OnUpdateConvolUser(CCmdUI* pCmdUI);
	afx_msg void OnUpdateMosaic(CCmdUI* pCmdUI);
	afx_msg void OnEffectUndo();
	afx_msg void OnUpdateEffectUndo(CCmdUI* pCmdUI);
	afx_msg void OnEffectRedo();
	afx_msg void OnUpdateEffectRedo(CCmdUI* pCmdUI);
	afx_msg void OnUpdateCountcolor(CCmdUI* pCmdUI);
	afx_msg void OnFileOpen();
	afx_msg void OnConvertGray();
	afx_msg void OnFileSaveAs();
	afx_msg void OnSphere();
	afx_msg void OnUpdateSphere(CCmdUI* pCmdUI);
	afx_msg void OnUpdatePickkeycolor(CCmdUI* pCmdUI);
	afx_msg void OnPickkeycolor();
	afx_msg void OnConvertTo24();
	afx_msg void OnUpdateConvertTo24(CCmdUI* pCmdUI);
	afx_msg void OnUpdateConvertGray(CCmdUI* pCmdUI);
	afx_msg void OnSpliteChannel();
	afx_msg void OnUpdateSpliteChannel(CCmdUI* pCmdUI);
	afx_msg void OnViewRealsize();
	afx_msg void OnUpdateViewRealsize(CCmdUI* pCmdUI);
	afx_msg void OnConvertTo16();
	afx_msg void OnUpdateConvertTo16(CCmdUI* pCmdUI);
	afx_msg void OnEditPaste();
	afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI);
	afx_msg void OnSelectAll();
	afx_msg void OnUpdateSelectAll(CCmdUI* pCmdUI);
	afx_msg void OnEditCut();
	afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public :
	void AttachPic();
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PICVIEWERDOC_H__B15C03FB_3158_42CF_92A6_5F8AB5D26D43__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -