-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDlgAddArea.h
38 lines (31 loc) · 886 Bytes
/
DlgAddArea.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
#pragma once
#include "afxwin.h"
#include "Netlist.h"
// CDlgAddArea dialog
class CDlgAddArea : public CDialog
{
DECLARE_DYNAMIC(CDlgAddArea)
public:
CDlgAddArea(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgAddArea();
void Initialize( CNetList * nl, int nlayers,
cnet * net, int layer, int hatch );
// Dialog Data
enum { IDD = IDD_ADD_AREA };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
CString m_net_name; // set to net name on return
cnet * m_net; // set to selected net, or NULL if net doesn't exist
int m_layer; // set to selected layer on return
int m_num_layers;
int m_hatch;
BOOL bNewArea;
CNetList * m_nlist;
CComboBox m_combo_net;
CListBox m_list_layer;
CButton m_radio_none;
CButton m_radio_full;
CButton m_radio_edge;
};