-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDlgCAD.h
117 lines (111 loc) · 3.05 KB
/
DlgCAD.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#pragma once
#include "afxwin.h"
#include "DlgLog.h"
// CDlgCAD dialog
class CDlgCAD : public CDialog
{
DECLARE_DYNAMIC(CDlgCAD)
public:
CDlgCAD(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgCAD();
void Initialize( double version, CString * folder, CString * project_folder,
CString * app_folder,
int num_copper_layers, int units,
int mask_clearance,
int pilot_diameter, int min_silkscreen_wid,
int outline_width,
int annular_ring_pins, int annular_ring_vias, int shrink_paste,
int n_x, int n_y, int space_x, int space_y,
int flags, int layers, int drill_file,
CArray<CPolyLine> * bd, CArray<CPolyLine> * sm,
CPartList * pl, CNetList * nl, CTextList * tl, CDisplayList * dl,
CDlgLog * log );
void SetFields();
void GetFields();
// Dialog Data
enum { IDD = IDD_CAD };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
double m_version;
double m_file_version;
CEdit m_edit_folder;
CEdit m_edit_mask;
CButton m_check_drill;
CButton m_check_top_silk;
CButton m_check_bottom_silk;
CButton m_check_top_solder;
CButton m_check_bottom_solder;
CButton m_check_top_copper;
CButton m_check_bottom_copper;
CButton m_check_inner1;
CButton m_check_inner2;
CButton m_check_inner3;
CButton m_check_inner4;
CButton m_check_inner5;
CButton m_check_inner6;
CButton m_check_inner7;
CButton m_check_inner8;
CButton m_check_inner9;
CButton m_check_inner10;
CButton m_check_inner11;
CButton m_check_inner12;
CButton m_check_inner13;
CButton m_check_inner14;
CButton m_check_outline;
CButton m_check_moires;
CButton m_check_layer_text;
int m_num_copper_layers;
int m_mask_clearance;
int m_pilot_diameter;
int m_min_silkscreen_width;
int m_outline_width;
int m_annular_ring_pins;
int m_annular_ring_vias;
int m_units;
int m_flags;
int m_layers;
int m_drill_file;
CArray<CPolyLine> * m_bd;
CArray<CPolyLine> * m_sm;
CPartList * m_pl;
CNetList * m_nl;
CTextList * m_tl;
CDisplayList * m_dl;
CDlgLog * m_dlg_log;
CString m_folder;
CString m_project_folder;
CString m_app_folder;
afx_msg void OnBnClickedGo();
CComboBox m_combo_units;
afx_msg void OnCbnSelchangeComboCadUnits();
CEdit m_edit_pilot_diam;
CButton m_check_pilot;
afx_msg void OnBnClickedCheckCadPilot();
afx_msg void OnBnClickedCancel();
CEdit m_edit_min_ss_w;
CEdit m_edit_outline_width;
CEdit m_edit_ann_pins;
CEdit m_edit_ann_vias;
CButton m_check_mask_vias;
afx_msg void OnBnClickedButtonDef();
afx_msg void OnBnClickedButtonFolder();
CButton m_check_board;
CButton m_check_top_paste;
CButton m_check_bottom_paste;
int m_n_x;
int m_n_y;
CEdit m_edit_n_x;
CEdit m_edit_n_y;
CEdit m_edit_space_x;
CEdit m_edit_space_y;
int m_space_x, m_space_y;
CEdit m_edit_shrink_paste;
int m_paste_shrink;
CButton m_check_render_all;
CButton m_check_mirror_bottom;
afx_msg void OnBnClickedRenderAllGerbers();
CButton m_check_sm_clearance_for_cutouts;
afx_msg void OnBnClickedButtonDone();
};