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