Menu

[r124]: / MapSetting2D.h  Maximize  Restore  History

Download this file

44 lines (32 with data), 914 Bytes

 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
#pragma once
// MapSetting2D dialog
#include "ColorSupport.h"
#include "VoxelMap2D.h"
class MapSetting2D : public CDialogEx
{
DECLARE_DYNAMIC(MapSetting2D)
public:
MapSetting2D(CWnd* pParent = NULL); // standard constructor
virtual ~MapSetting2D();
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_COLOR_SETTING_PATTERN };
#endif
MyRGB m_col1;
MyRGB m_col2;
//int m_parts;
int m_map_type;
VoxelMap2D *m_2D_map;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
HBRUSH OnCtlColor(CDC* pDC, CWnd *pWnd, UINT nCtlColor);
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton1();
afx_msg void OnBnClickedButton2();
afx_msg void OnPaint();
afx_msg void OnBnClickedButton3();
afx_msg void OnBnClickedOk();
afx_msg void OnCbnSelchangeComboPredefined();
};