Добавил:
korayakov
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:Лабы / igs (супер 2001) / Spline_2d / Spline_2dView
.h// Spline_2dView.h : interface of the CSpline_2dView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SPLINE_2DVIEW_H__2CC3A164_B86B_4A71_B97F_DB87C959A3F2__INCLUDED_)
#define AFX_SPLINE_2DVIEW_H__2CC3A164_B86B_4A71_B97F_DB87C959A3F2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "spline2.h"
class CSpline_2dView : public CView
{
protected: // create from serialization only
CSpline_2dView();
DECLARE_DYNCREATE(CSpline_2dView)
// Attributes
public:
CSpline_2dDoc* GetDocument();
// Operations
public:
int ButtonDown, PointDown, ShowCarcas;
CSpline *Spline;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSpline_2dView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CSpline_2dView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CSpline_2dView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnUpdateShowCarcas(CCmdUI* pCmdUI);
afx_msg void OnShowCarcas();
afx_msg void OnNewSpline();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Spline_2dView.cpp
inline CSpline_2dDoc* CSpline_2dView::GetDocument()
{ return (CSpline_2dDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SPLINE_2DVIEW_H__2CC3A164_B86B_4A71_B97F_DB87C959A3F2__INCLUDED_)
Соседние файлы в папке Spline_2d