forked from jpt13653903/FreePCB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DlgGroupPaste.h
66 lines (58 loc) · 1.89 KB
/
DlgGroupPaste.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
#pragma once
#include "afxwin.h"
#include "afxcmn.h"
// CDlgGroupPaste dialog
class CDlgGroupPaste : public CDialog
{
DECLARE_DYNAMIC(CDlgGroupPaste)
public:
CDlgGroupPaste(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgGroupPaste();
void Initialize( CNetList * grp_nlist );
void SetFields();
int m_units;
int m_ref_option;
int m_ref_offset;
int m_net_name_option; // 0=group names, 1=rename
int m_net_rename_option; // 0=use suffix, 1=next Nnnnnn
int m_position_option;
int m_pin_net_option; // 0=retain all, 1=only for pins with traces
double m_dx, m_dy;
int m_sort_type;
CNetList * m_grp_nlist;
// Dialog Data
enum { IDD = IDD_GROUP_PASTE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
CButton m_radio_use_group_ref;
CButton m_radio_use_next_ref;
CButton m_radio_add_ref_offset;
CEdit m_edit_offset;
CButton m_radio_use_group_nets;
CButton m_radio_use_selected_nets;
CListCtrl m_list_ctrl;
CButton m_radio_use_suffix;
CButton m_radio_make_new_names;
afx_msg void OnBnClickedRadioUseGroupRef();
afx_msg void OnBnClickedRadioUseNextRef();
afx_msg void OnBnClickedRadioAddRefOffset();
afx_msg void OnBnClickedRadioUseGroupNets();
afx_msg void OnBnClickedRadioUseSelectedNets();
afx_msg void OnBnClickedRadioUseSuffix();
afx_msg void OnBnClickedRadioMakeNewNames();
CButton m_radio_drag;
CButton m_radio_offset;
afx_msg void OnBnClickedRadioDrag();
afx_msg void OnBnClickedRadioOffset();
CEdit m_edit_x;
CEdit m_edit_y;
CComboBox m_combo_units;
afx_msg void OnCbnSelchangeComboGroupUnits();
CButton m_radio_retain_all_nets;
CButton m_radio_retain_traces;
afx_msg void OnBnClickedRadioRetainAll();
afx_msg void OnBnClickedRadioRetainTraces();
afx_msg void OnLvnColumnClickListSelectGroupNets(NMHDR *pNMHDR, LRESULT *pResult);
};