-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDlgAddText.h
63 lines (56 loc) · 1.54 KB
/
DlgAddText.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
#pragma once
#include "afxwin.h"
// CDlgAddText dialog
class CDlgAddText : public CDialog
{
DECLARE_DYNAMIC(CDlgAddText)
public:
CDlgAddText(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgAddText();
void Initialize( BOOL fp_flag, int num_layers, int drag_flag,
CString * str, int units, int layer, int mirror, BOOL bNegative,
int angle, int height, int width, int x, int y );
// Dialog Data
enum { IDD = IDD_ADD_TEXT };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
void SetFields();
void GetFields();
BOOL m_fp_flag;
int m_drag_flag; // 1 if dragging to position
int m_num_layers;
int m_x, m_y; // set on entry if editing
int m_width;
int m_height;
int m_angle;
int m_mirror;
BOOL m_bNegative;
int m_layer;
int m_units;
int m_unit_mult;
CString m_str;
CListBox m_layer_list;
virtual BOOL OnInitDialog();
CEdit m_edit_height;
CButton m_button_set_width;
CButton m_button_def_width;
CEdit m_edit_width;
CEdit m_text;
CEdit m_edit_y;
CEdit m_edit_x;
CButton m_button_set_position;
CListBox m_list_angle;
CButton m_button_drag;
afx_msg void OnBnClickedSetPosition();
afx_msg void OnBnClickedDrag();
afx_msg void OnEnChangeEditHeight();
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedSetWidth();
afx_msg void OnBnClickedDefWidth();
CComboBox m_combo_units;
afx_msg void OnCbnSelchangeComboAddTextUnits();
CButton m_check_negative;
afx_msg void OnLbnSelchangeListLayer();
};