home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Using VRML (Special Edition)
/
Special_Edition_Using_VRML_CDROM_Que_1996.iso
/
webpages
/
software
/
win95
/
browsers
/
ambersw
/
tutorial
/
lesson3
/
lessovw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-14
|
2KB
|
65 lines
// lessovw.h : interface of the Clesson3View class
//
/////////////////////////////////////////////////////////////////////////////
#include "channel.hpp"
#include "mouse.hpp"
class Clesson3View : public CView
{
protected: // create from serialization only
Clesson3View();
DECLARE_DYNCREATE(Clesson3View)
// Attributes
public:
Clesson3Doc* GetDocument();
// Our Amber channel.
channelClass *ch;
// Our Mouse Sensor.
mouseClass *mouse;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Clesson3View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate();
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~Clesson3View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(Clesson3View)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in lessovw.cpp
inline Clesson3Doc* Clesson3View::GetDocument()
{ return (Clesson3Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////