7fd59977 |
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 <Aspect.hxx> |
14 | #include <Quantity_NameOfColor.hxx> |
15 | |
16 | #include "resource.h" |
17 | ///////////////////////////////////////////////////////////////////////////// |
18 | // CTrihedronDlg dialog |
19 | |
20 | class CTrihedronDlg : public CDialog |
21 | { |
22 | // Construction |
23 | public: |
24 | CTrihedronDlg(CWnd* pParent = NULL); // standard constructor |
25 | CTrihedronDlg(Handle_V3d_View Current_V3d_View, CViewer3dDoc* pDoc, CWnd* pParent = NULL); // standard constructor |
26 | |
27 | |
28 | // Dialog Data |
29 | //{{AFX_DATA(CTrihedronDlg) |
30 | enum { IDD = IDD_TRIHEDRON }; |
31 | CComboBox m_ComboTrihedronPosList; |
32 | CComboBox m_ComboTrihedronColorList; |
33 | double m_TrihedronScale; |
34 | CSpinButtonCtrl m_SpinTrihedronScale; |
35 | Quantity_NameOfColor m_Color; |
36 | Aspect_TypeOfTriedronPosition m_Position; |
37 | |
38 | |
39 | // NOTE: the ClassWizard will add data members here |
40 | //}}AFX_DATA |
41 | |
42 | |
43 | // Overrides |
44 | // ClassWizard generated virtual function overrides |
45 | //{{AFX_VIRTUAL(CTrihedronDlg) |
46 | protected: |
47 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support |
48 | //}}AFX_VIRTUAL |
49 | |
50 | // Implementation |
51 | protected: |
52 | |
53 | // Generated message map functions |
54 | //{{AFX_MSG(CTrihedronDlg) |
55 | afx_msg void OnSelchangeCombotrihedrcolor(); |
56 | afx_msg void OnSelchangeCombotrihedrpos(); |
57 | afx_msg void OnChangeEdittrihedrscale(); |
58 | afx_msg void OnDeltaposSpintrihedrscale(NMHDR* pNMHDR, LRESULT* pResult); |
59 | virtual BOOL OnInitDialog(); |
60 | virtual void OnCancel(); |
61 | virtual void OnOK(); |
62 | //}}AFX_MSG |
63 | DECLARE_MESSAGE_MAP() |
64 | |
65 | private: |
66 | |
67 | Handle_V3d_View myCurrent_V3d_View; |
68 | CViewer3dDoc* myDoc; |
69 | Quantity_NameOfColor Color ; |
70 | Aspect_TypeOfTriedronPosition Position; |
71 | /* |
72 | public: |
73 | |
74 | static Standard_Boolean Initialisation; |
75 | static Standard_Boolean GetInitialisation() {return Initialisation;}; |
76 | */ |
77 | |
78 | }; |
79 | |
80 | //{{AFX_INSERT_LOCATION}} |
81 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. |
82 | |
83 | #endif // !defined(AFX_TRIHEDRONDLG_H__1917B30F_3102_11D6_BD0D_00A0C982B46F__INCLUDED_) |