-
Notifications
You must be signed in to change notification settings - Fork 1
/
ColorSelectionDialog.h
executable file
·47 lines (39 loc) · 1.21 KB
/
ColorSelectionDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#pragma once
// ColorSelectionDialog dialog
class ColorSelectionDialog : public CDialogEx
{
DECLARE_DYNAMIC(ColorSelectionDialog)
public:
ColorSelectionDialog(CWnd* pParent = NULL); // standard constructor
ColorSelectionDialog(
COLORREF m_color_wireframe,
COLORREF m_boundbox_color,
COLORREF m_background_color,
COLORREF m_vertex_norm_color,
COLORREF m_polygon_norm_color,
COLORREF m_silhouette_color,
double m_silhouette_thickness,
CWnd* pParent = NULL);
virtual ~ColorSelectionDialog();
// Dialog Data
enum { IDD = IDD_COLOR_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
COLORREF wireframe_color;
COLORREF boundbox_color;
COLORREF background_color;
COLORREF vertex_norm_color;
COLORREF polygon_norm_color;
COLORREF silhouette_color;
afx_msg void OnBackgroundColorClick();
afx_msg void OnWireframeColorClick();
afx_msg void OnBoundboxColorClick();
afx_msg void OnBnClickedButton5();
afx_msg void OnBnClickedButton4();
afx_msg void OnBnClickedButton6();
double silhouette_thickness;
afx_msg void OnEnChangeLightPosX();
afx_msg void OnEnChangeSillhuotteThickness();
};