FormCommandView.h
上传用户:zbjingming
上传日期:2010-01-02
资源大小:2436k
文件大小:2k
- //********************************************
- // FormCommandView.h
- // The command panel view
- //********************************************
- // feigz@ox.ios.ac.cn
- // Created :
- // Modified
- //********************************************
- #if !defined(AFX_FORMCOMMANDVIEW_H__A4283CC1_72E6_11D1_A6C2_00A0242C0A32__INCLUDED_)
- #define AFX_FORMCOMMANDVIEW_H__A4283CC1_72E6_11D1_A6C2_00A0242C0A32__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- /////////////////////////////////////////////////////////////////////////////
- // CFormCommandView form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class CToolDoc;
- class CFormCommandView : public CFormView
- {
- protected:
- CFormCommandView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CFormCommandView)
- // Form Data
- public:
- //{{AFX_DATA(CFormCommandView)
- enum { IDD = IDD_FORM_COMMAND };
- CStatic m_ControlBackColor;
- BOOL m_Smooth;
- BOOL m_Antialias;
- int m_Model;
- //}}AFX_DATA
- // Attributes
- public:
- CToolDoc* GetDocument();
- CView *GetRenderView();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFormCommandView)
- public:
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CFormCommandView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(CFormCommandView)
- afx_msg void OnPaint();
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnRadioModel1();
- afx_msg void OnRadioModel2();
- afx_msg void OnCheckSmooth();
- afx_msg void OnCheckAntialias();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in RenderView.cpp
- inline CToolDoc* CFormCommandView::GetDocument()
- { return (CToolDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FORMCOMMANDVIEW_H__A4283CC1_72E6_11D1_A6C2_00A0242C0A32__INCLUDED_)