0025269: Make parallel version of boolean operations avaible from DRAW
[occt.git] / samples / mfc / standard / 04_Viewer3d / src / ScaleDlg.h
1 #if !defined(AFX_ScaleDlg_H__1796AA04_63B7_4E46_B00A_D2DAC975CAF1__INCLUDED_)
2 #define AFX_ScaleDlg_H__1796AA04_63B7_4E46_B00A_D2DAC975CAF1__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ScaleDlg.h : header file
8 //
9
10 #include "resource.h"
11 #include "Viewer3dView.h"
12
13 /////////////////////////////////////////////////////////////////////////////
14 // ScaleDlg dialog
15
16 class ScaleDlg : public CDialog
17 {
18 // Construction
19 public:
20         ScaleDlg(Handle_V3d_View Current_V3d_View, CViewer3dView* pView, CWnd* pParent = NULL); 
21
22 // Dialog Data
23         //{{AFX_DATA(ScaleDlg)
24         enum { IDD = IDD_SCALE };
25         CSliderCtrl     m_ScaleXSlidCtrl;
26         CSliderCtrl     m_ScaleYSlidCtrl;
27         CSliderCtrl     m_ScaleZSlidCtrl;
28         int     m_ScaleX;
29         int     m_ScaleY;
30         int     m_ScaleZ;
31         //}}AFX_DATA
32
33
34 // Overrides
35         // ClassWizard generated virtual function overrides
36         //{{AFX_VIRTUAL(ScaleDlg)
37         protected:
38         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
39         //}}AFX_VIRTUAL
40
41 // Implementation
42 protected:
43
44         // Generated message map functions
45         //{{AFX_MSG(ScaleDlg)
46         virtual BOOL OnInitDialog();
47         afx_msg void OnChangeEditScaleX();
48         afx_msg void OnChangeEditScaleY();
49         afx_msg void OnChangeEditScaleZ();
50         afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
51         //}}AFX_MSG
52         DECLARE_MESSAGE_MAP()
53
54 private:
55
56         Handle_V3d_View myCurrent_V3d_View;
57         CViewer3dView* myView;
58 };
59
60 //{{AFX_INSERT_LOCATION}}
61 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
62
63 #endif // !defined(AFX_ScaleDlg_H__1796AA04_63B7_4E46_B00A_D2DAC975CAF1__INCLUDED_)