www.pudn.com > Map_OpenGL.rar > Map_InFoView.h
#if !defined(AFX_MAP_INFOVIEW_H__49E75F52_5F49_42FC_BC38_79AEFE1A2FF6__INCLUDED_)
#define AFX_MAP_INFOVIEW_H__49E75F52_5F49_42FC_BC38_79AEFE1A2FF6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Map_InFoView.h : header file
//
#include "Map_OpenGLDoc.h"
/////////////////////////////////////////////////////////////////////////////
// CMap_InFoView view
class CMap_InFoView : public CView
{
protected:
CMap_InFoView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CMap_InFoView)
// Attributes
public:
CString s_showleft,s_showright,s_showtop,s_showbottom;
CString s_minheight,s_maxheight;
CString s_sizeofx,s_sizeofy;
CString s_numx,s_numy;
CString s_realdistance;
CString s_tringlenumber;
CString s_dotnumber;
// Operations
public:
CMap_OpenGLDoc* GetDocument();
void ShowDemInfo(CDC* pDC);
void ShowTininfo(CDC* pDC);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMap_InFoView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CMap_InFoView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMap_InFoView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
inline CMap_OpenGLDoc* CMap_InFoView::GetDocument()
{
return (CMap_OpenGLDoc*)m_pDocument;
}
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAP_INFOVIEW_H__49E75F52_5F49_42FC_BC38_79AEFE1A2FF6__INCLUDED_)