-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDlgRefText.h
47 lines (41 loc) · 1.08 KB
/
DlgRefText.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
#pragma once
#include "afxwin.h"
#include "PartList.h"
#include "resource.h"
// CDlgRefText dialog
class CDlgRefText : public CDialog
{
DECLARE_DYNAMIC(CDlgRefText)
public:
CDlgRefText(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgRefText();
void Initialize( CPartList * plist, cpart * part, CMapStringToPtr * shape_cache_map );
void GetFields();
void SetFields();
// Dialog Data
enum { IDD = IDD_REF_TEXT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
BOOL m_vis;
int m_units;
int m_height;
int m_width;
int m_def_width;
CPartList * m_plist;
cpart * m_part;
CMapStringToPtr * m_footprint_cache_map;
CEdit m_edit_ref_des;
CEdit m_edit_height;
CButton m_radio_set;
CButton m_radio_def;
CEdit m_edit_width;
CEdit m_edit_def_width;
afx_msg void OnBnClickedRadioSet();
afx_msg void OnEnChangeEditCharHeight();
afx_msg void OnBnClickedRadioDef();
CComboBox m_combo_units;
afx_msg void OnCbnSelchangeComboRefTextUnits();
CButton m_check_visible;
};