forked from jpt13653903/FreePCB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DlgHole.h
42 lines (35 loc) · 945 Bytes
/
DlgHole.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
#pragma once
#include "afxwin.h"
// CDlgHole dialog
class CDlgHole : public CDialog
{
DECLARE_DYNAMIC(CDlgHole)
public:
CDlgHole(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgHole();
void Initialize( int units, int w, int x, int y, BOOL bPlated=FALSE );
void SetFields();
void GetFields();
// Dialog Data
enum { IDD = IDD_HOLE };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
BOOL m_bDrag;
BOOL m_bPlated;
int m_units, m_x, m_y, m_w;
// controls
CButton m_radio_set, m_radio_drag;
CButton m_radio_plated, m_radio_unplated;
CComboBox m_combo_units;
CEdit m_edit_x;
CEdit m_edit_y;
CEdit m_edit_w;
// message handlers
afx_msg void OnCbnSelChangeCombo1();
afx_msg void OnBnClickedSet();
afx_msg void OnBnClickedDrag();
afx_msg void OnBnClickedPlated();
afx_msg void OnBnClickedUnplated();
};