-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEsmBookDlg.h
103 lines (80 loc) · 2.67 KB
/
EsmBookDlg.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*===========================================================================
*
* File: Esmbookdlg.H
* Author: Dave Humphrey (uesp@m0use.net)
* Created On: February 14, 2003
*
* Description
*
*=========================================================================*/
#ifndef __ESMBOOKDLG_H
#define __ESMBOOKDLG_H
/*===========================================================================
*
* Begin Required Includes
*
*=========================================================================*/
#include "EsmRecDialog.h"
#include "Resource.h"
/*===========================================================================
* End of Required Includes
*=========================================================================*/
/*===========================================================================
*
* Begin Class CEsmBookDlg Definition
*
*=========================================================================*/
class CEsmBookDlg : public CEsmRecDialog {
DECLARE_DYNCREATE(CEsmBookDlg);
/*---------- Begin Protected Class Members ------------------------*/
protected:
CEsmBook* m_pBook;
/*---------- Begin Protected Class Methods ------------------------*/
protected:
/* Update item data */
virtual int OnUpdateItem (esmrecinfo_t* pRecInfo);
/*---------- Begin Public Class Methods ---------------------------*/
public:
/* Construction */
CEsmBookDlg();
/* Get class members */
virtual bool IsModified (void);
/* Set or update the record data */
virtual void GetControlData (void);
virtual void SetControlData (void);
/* Dialog Data */
//{{AFX_DATA(CEsmBookDlg)
enum { IDD = IDD_BOOK_DLG };
CButton m_PersistCheck;
CButton m_BlockedCheck;
CButton m_ScrollCheck;
CEdit m_EnchantText;
CEdit m_BookText;
CComboBox m_EnchantList;
CComboBox m_SkillList;
CEdit m_ValueText;
CEdit m_WeightText;
CEdit m_NameText;
//}}AFX_DATA
/* ClassWizard generated virtual function overrides */
//{{AFX_VIRTUAL(CEsmBookDlg)
protected:
virtual void OnInitialUpdate();
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
/* Generated message map functions */
//{{AFX_MSG(CEsmBookDlg)
afx_msg void OnEnchantedit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP();
};
/*===========================================================================
* End of Class CEsmBookDlg Definition
*=========================================================================*/
//{{AFX_INSERT_LOCATION}}
//}}AFX_INSERT_LOCATION
#endif
/*===========================================================================
* End of File Esmbookdlg.H
*=========================================================================*/