0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / TrihedronDlg.h
1 #if !defined(AFX_TRIHEDRONDLG_H__1917B30F_3102_11D6_BD0D_00A0C982B46F__INCLUDED_)
2 #define AFX_TRIHEDRONDLG_H__1917B30F_3102_11D6_BD0D_00A0C982B46F__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // TrihedronDlg.h : header file
8 //
9
10 #include "Viewer3dDoc.h"
11
12 #include <V3d_View.hxx>
13 #include <Quantity_NameOfColor.hxx>
14
15 #include "..\res\resource.h"
16 /////////////////////////////////////////////////////////////////////////////
17 // CTrihedronDlg dialog
18
19 class CTrihedronDlg : public CDialog
20 {
21 // Construction
22 public:
23         CTrihedronDlg(CWnd* pParent = NULL);   // standard constructor
24         CTrihedronDlg(Handle(V3d_View) Current_V3d_View, CViewer3dDoc* pDoc, CWnd* pParent = NULL);   // standard constructor
25
26
27 // Dialog Data
28         //{{AFX_DATA(CTrihedronDlg)
29         enum { IDD = IDD_TRIHEDRON };
30         CComboBox m_ComboTrihedronPosList;
31         CComboBox m_ComboTrihedronColorList;
32         double  m_TrihedronScale;
33         CSpinButtonCtrl m_SpinTrihedronScale;
34         Quantity_NameOfColor m_Color;
35         Aspect_TypeOfTriedronPosition m_Position;
36
37
38                 // NOTE: the ClassWizard will add data members here
39         //}}AFX_DATA
40
41
42 // Overrides
43         // ClassWizard generated virtual function overrides
44         //{{AFX_VIRTUAL(CTrihedronDlg)
45         protected:
46         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
47         //}}AFX_VIRTUAL
48
49 // Implementation
50 protected:
51
52         // Generated message map functions
53         //{{AFX_MSG(CTrihedronDlg)
54         afx_msg void OnSelchangeCombotrihedrcolor();
55         afx_msg void OnSelchangeCombotrihedrpos();
56         afx_msg void OnChangeEdittrihedrscale();
57         afx_msg void OnDeltaposSpintrihedrscale(NMHDR* pNMHDR, LRESULT* pResult);
58         virtual BOOL OnInitDialog();
59         virtual void OnCancel();
60         virtual void OnOK();
61         //}}AFX_MSG
62         DECLARE_MESSAGE_MAP()
63
64 private:
65
66         Handle(V3d_View) myCurrent_V3d_View;
67         CViewer3dDoc* myDoc;
68         Quantity_NameOfColor Color ;
69         Aspect_TypeOfTriedronPosition Position;
70 /*
71 public:
72
73 static  Standard_Boolean Initialisation;
74 static  Standard_Boolean GetInitialisation() {return Initialisation;};
75 */
76
77 };
78
79 //{{AFX_INSERT_LOCATION}}
80 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
81
82 #endif // !defined(AFX_TRIHEDRONDLG_H__1917B30F_3102_11D6_BD0D_00A0C982B46F__INCLUDED_)