0023821: Improve qmake project files for Qt samples
[occt.git] / samples / mfc / standard / 03_Viewer2d / src / Properties / colornewcolorrampcolormapDialog.h
CommitLineData
7fd59977 1#if !defined(AFX_ColorNewColorRampColorMapDialog_H__A45F6973_DB41_11D1_8DE5_0800369C8A03__INCLUDED_)
2#define AFX_ColorNewColorRampColorMapDialog_H__A45F6973_DB41_11D1_8DE5_0800369C8A03__INCLUDED_
3
4#if _MSC_VER >= 1000
5#pragma once
6#endif // _MSC_VER >= 1000
7// ColorNewColorRampColorMapDialog.h : header file
8//
9
10/////////////////////////////////////////////////////////////////////////////
11// CColorNewColorRampColorMapDialog dialog
12
13class CColorNewColorRampColorMapDialog : public CDialog
14{
15private :
16 Handle(Aspect_ColorMap) myColorMap;
17
18// Construction
19public:
20 CColorNewColorRampColorMapDialog(CWnd* pParent = NULL); // standard constructor
21 Handle(Aspect_ColorMap) ColorMap() {return myColorMap;};
22
23// Dialog Data
24 //{{AFX_DATA(CColorNewColorRampColorMapDialog)
25 enum { IDD = IDD_DIALOG_NewColorRamp };
26 CComboBox m_ColorList;
27 int m_base_pixel;
28 int m_dimension;
29 double m_Red;
30 double m_Green;
31 double m_Blue;
32 //}}AFX_DATA
33
34
35// Overrides
36 // ClassWizard generated virtual function overrides
37 //{{AFX_VIRTUAL(CColorNewColorRampColorMapDialog)
38 protected:
39 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
40 //}}AFX_VIRTUAL
41
42// Implementation
43protected:
44
45 // Generated message map functions
46 //{{AFX_MSG(CColorNewColorRampColorMapDialog)
47 virtual void OnOK();
48 afx_msg void OnColorMapRampBUTTONEditColor();
49 virtual BOOL OnInitDialog();
50 afx_msg void OnChangeColorMapRampEDITColorRed();
51 afx_msg void OnChangeColorMapRampEDITColorGreen();
52 afx_msg void OnChangeColorMapRampEDITColorBlue();
53 afx_msg void OnSelchangeColorMapCOMBONewEntryColorName();
54 //}}AFX_MSG
55 DECLARE_MESSAGE_MAP()
56};
57
58//{{AFX_INSERT_LOCATION}}
59// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
60
61#endif // !defined(AFX_ColorNewColorRampColorMapDialog_H__A45F6973_DB41_11D1_8DE5_0800369C8A03__INCLUDED_)