rimshotview.h

来自「fortran并行计算包」· C头文件 代码 · 共 99 行

H
99
字号
/* -*- Mode: C++; c-basic-offset:4 ; -*- *//*  $Id: rimshotView.h,v 1.8 2002/11/11 13:49:57 gropp Exp $ * *  (C) 2001 by Argonne National Laboratory. *      See COPYRIGHT in top-level directory. *//* style:c++ header */// rimshotView.h : interface of the CRimshotView class///////////////////////////////////////////////////////////////////////////////#if !defined(AFX_RIMSHOTVIEW_H__7E08A000_563B_4F32_ABF2_F9B1CA0B9486__INCLUDED_)#define AFX_RIMSHOTVIEW_H__7E08A000_563B_4F32_ABF2_F9B1CA0B9486__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000#include "rimshot_draw.h"class CRimshotView : public CView{protected: // create from serialization only	CRimshotView();	DECLARE_DYNCREATE(CRimshotView)// Attributespublic:	CRimshotDoc* GetDocument();	HANDLE m_hDrawThread;	RimshotDrawStruct m_Draw;// Operationspublic:// Overrides	// ClassWizard generated virtual function overrides	//{{AFX_VIRTUAL(CRimshotView)	public:	virtual void OnDraw(CDC* pDC);  // overridden to draw this view	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);	virtual void OnInitialUpdate();	virtual BOOL DestroyWindow();	protected:	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);	//}}AFX_VIRTUAL// Implementationpublic:	void StartDrawing();	void StopDrawing();	void DrawToCanvas(CDC *pDC);	virtual ~CRimshotView();#ifdef _DEBUG	virtual void AssertValid() const;	virtual void Dump(CDumpContext& dc) const;#endifprotected:// Generated message map functionsprotected:	//{{AFX_MSG(CRimshotView)	afx_msg void OnNext();	afx_msg void OnPrevious();	afx_msg void OnResetZoom();	afx_msg void OnZoomIn();	afx_msg void OnZoomOut();	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);	afx_msg void OnZoomTo();	afx_msg void OnSize(UINT nType, int cx, int cy);	afx_msg BOOL OnEraseBkgnd(CDC* pDC);	afx_msg void OnToggleArrows();	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);	afx_msg void OnViewUniform();	afx_msg void OnViewZoom();	afx_msg void OnSlideRankOffset();	//}}AFX_MSG	DECLARE_MESSAGE_MAP()};#ifndef _DEBUG  // debug version in rimshotView.cppinline CRimshotDoc* CRimshotView::GetDocument()   { return (CRimshotDoc*)m_pDocument; }#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_RIMSHOTVIEW_H__7E08A000_563B_4F32_ABF2_F9B1CA0B9486__INCLUDED_)

⌨️ 快捷键说明

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