-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEsmExtCellPage.h
121 lines (96 loc) · 3.34 KB
/
EsmExtCellPage.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/*===========================================================================
*
* File: Esmextcellpage.H
* Author: Dave Humphrey (uesp@m0use.net)
* Created On: February 25, 2003
*
* Description
*
*=========================================================================*/
#ifndef __ESMEXTCELLPAGE_H
#define __ESMEXTCELLPAGE_H
/*===========================================================================
*
* Begin Required Includes
*
*=========================================================================*/
#include "ColorStatic1.h"
#include "EsmFile.h"
/*===========================================================================
* End of Required Includes
*=========================================================================*/
/*===========================================================================
*
* Begin Type Definitions
*
*=========================================================================*/
class CEsmRecDialog;
class CMWEditDoc;
/*===========================================================================
* End of Type Definitions
*=========================================================================*/
/*===========================================================================
*
* Begin Class CEsmExtCellPage Definition
*
*=========================================================================*/
class CEsmExtCellPage : public CPropertyPage {
DECLARE_DYNCREATE(CEsmExtCellPage);
/*---------- Begin Protected Class Methods ----------------------*/
protected:
esmrecinfo_t* m_pRecInfo;
CEsmRecDialog* m_pDlgParent;
/*---------- Begin Public Class Methods -------------------------*/
public:
/* Construction */
CEsmExtCellPage();
~CEsmExtCellPage();
/* Get class members */
CMWEditDoc* GetDocument (void);
/* Set class members */
void SetRecInfo (esmrecinfo_t* pRecInfo) { m_pRecInfo = pRecInfo; }
void SetEsmRecParent (CEsmRecDialog* pDialog) { m_pDlgParent = pDialog; }
/* Get/set control data */
void GetControlData (void);
void SetControlData (void);
/* Update record data */
int OnUpdateItem (esmrecinfo_t* pRecInfo);
/* Dialog Data */
//{{AFX_DATA(CEsmExtCellPage)
enum { IDD = IDD_EXTCELL_PAGE };
CButton m_ColorButton;
CColorStatic m_ColorBox;
CSpinButtonCtrl m_BSpin;
CSpinButtonCtrl m_GSpin;
CSpinButtonCtrl m_RSpin;
CEdit m_BlueText;
CEdit m_GreenText;
CEdit m_RedText;
CComboBox m_RegionList;
CButton m_MapCheck;
CButton m_SleepCheck;
//}}AFX_DATA
/* ClassWizard generate virtual function overrides */
//{{AFX_VIRTUAL(CEsmExtCellPage)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
/* Generated message map functions */
//{{AFX_MSG(CEsmExtCellPage)
virtual BOOL OnInitDialog();
afx_msg void OnColorbutton();
afx_msg void OnChangeColor();
afx_msg void OnMapcheck();
//}}AFX_MSG
DECLARE_MESSAGE_MAP();
};
/*===========================================================================
* End of Class CEsmExtCellPage Definition
*=========================================================================*/
//{{AFX_INSERT_LOCATION}}
//}}AFX_INSERT_LOCATION
#endif
/*===========================================================================
* End of File Esmextcellpage.H
*=========================================================================*/