@@ -13,7 +13,6 @@ IMPLEMENT_DYNAMIC( CDialogTypes, CDialogEx )
13
13
CDialogTypes::CDialogTypes( CWnd* pParent /* =NULL*/ )
14
14
: CDialogEx( CDialogTypes::IDD, pParent )
15
15
{
16
-
17
16
}
18
17
19
18
CDialogTypes::~CDialogTypes ( )
@@ -27,10 +26,10 @@ void CDialogTypes::DoDataExchange( CDataExchange* pDX )
27
26
DDX_Control ( pDX, IDC_EDIT_INT32, m_Int32 );
28
27
DDX_Control ( pDX, IDC_EDIT_INT16, m_Int16 );
29
28
DDX_Control ( pDX, IDC_EDIT_INT8, m_Int8 );
30
- DDX_Control ( pDX, IDC_EDIT_QWORD, m_QWord );
31
- DDX_Control ( pDX, IDC_EDIT_DWORD, m_DWord );
29
+ DDX_Control ( pDX, IDC_EDIT_QWORD, m_Qword );
30
+ DDX_Control ( pDX, IDC_EDIT_DWORD, m_Dword );
32
31
DDX_Control ( pDX, IDC_EDIT_WORD, m_Word );
33
- DDX_Control ( pDX, IDC_EDIT_BYTE, m_BYTE );
32
+ DDX_Control ( pDX, IDC_EDIT_BYTE, m_Byte );
34
33
DDX_Control ( pDX, IDC_EDIT_VEC2, m_Vec2 );
35
34
DDX_Control ( pDX, IDC_EDIT_VEC3, m_Vec3 );
36
35
DDX_Control ( pDX, IDC_EDIT_QUAT, m_Quat );
@@ -50,48 +49,48 @@ BOOL CDialogTypes::OnInitDialog( )
50
49
{
51
50
CDialogEx::OnInitDialog ( );
52
51
53
- m_Hex.SetWindowText ( g_tdHex );
52
+ m_Hex.SetWindowText ( g_Typedefs. Hex );
54
53
55
- m_Int64.SetWindowText ( g_tdInt64 );
56
- m_Int32.SetWindowText ( g_tdInt32 );
57
- m_Int16.SetWindowText ( g_tdInt16 );
58
- m_Int8.SetWindowText ( g_tdInt8 );
54
+ m_Int64.SetWindowText ( g_Typedefs. Int64 );
55
+ m_Int32.SetWindowText ( g_Typedefs. Int32 );
56
+ m_Int16.SetWindowText ( g_Typedefs. Int16 );
57
+ m_Int8.SetWindowText ( g_Typedefs. Int8 );
59
58
60
- m_QWord .SetWindowText ( g_tdQWORD );
61
- m_DWord .SetWindowText ( g_tdDWORD );
62
- m_Word.SetWindowText ( g_tdWORD );
63
- m_BYTE .SetWindowText ( g_tdBYTE );
59
+ m_Qword .SetWindowText ( g_Typedefs. Qword );
60
+ m_Dword .SetWindowText ( g_Typedefs. Dword );
61
+ m_Word.SetWindowText ( g_Typedefs. Word );
62
+ m_Byte .SetWindowText ( g_Typedefs. Byte );
64
63
65
- m_Vec2.SetWindowText ( g_tdVec2 );
66
- m_Vec3.SetWindowText ( g_tdVec3 );
67
- m_Quat.SetWindowText ( g_tdQuat );
68
- m_Matrix.SetWindowText ( g_tdMatrix );
69
- m_PChar.SetWindowText ( g_tdPChar );
70
- m_PWChar.SetWindowText ( g_tdPWChar );
64
+ m_Vec2.SetWindowText ( g_Typedefs. Vec2 );
65
+ m_Vec3.SetWindowText ( g_Typedefs. Vec3 );
66
+ m_Quat.SetWindowText ( g_Typedefs. Quat );
67
+ m_Matrix.SetWindowText ( g_Typedefs. Matrix );
68
+ m_PChar.SetWindowText ( g_Typedefs. PChar );
69
+ m_PWChar.SetWindowText ( g_Typedefs. PWChar );
71
70
72
71
return TRUE ;
73
72
}
74
73
75
74
void CDialogTypes::OnOK ( )
76
75
{
77
- m_Hex.GetWindowText ( g_tdHex );
78
-
79
- m_Int64.GetWindowText ( g_tdInt64 );
80
- m_Int32.GetWindowText ( g_tdInt32 );
81
- m_Int16.GetWindowText ( g_tdInt16 );
82
- m_Int8.GetWindowText ( g_tdInt8 );
83
-
84
- m_QWord .GetWindowText ( g_tdQWORD );
85
- m_DWord .GetWindowText ( g_tdDWORD );
86
- m_Word.GetWindowText ( g_tdWORD );
87
- m_BYTE .GetWindowText ( g_tdBYTE );
88
-
89
- m_Vec2.GetWindowText ( g_tdVec2 );
90
- m_Vec3.GetWindowText ( g_tdVec3 );
91
- m_Quat.GetWindowText ( g_tdQuat );
92
- m_Matrix.GetWindowText ( g_tdMatrix );
93
- m_PChar.GetWindowText ( g_tdPChar );
94
- m_PWChar.GetWindowText ( g_tdPWChar );
76
+ m_Hex.GetWindowText ( g_Typedefs. Hex );
77
+
78
+ m_Int64.GetWindowText ( g_Typedefs. Int64 );
79
+ m_Int32.GetWindowText ( g_Typedefs. Int32 );
80
+ m_Int16.GetWindowText ( g_Typedefs. Int16 );
81
+ m_Int8.GetWindowText ( g_Typedefs. Int8 );
82
+
83
+ m_Qword .GetWindowText ( g_Typedefs. Qword );
84
+ m_Dword .GetWindowText ( g_Typedefs. Dword );
85
+ m_Word.GetWindowText ( g_Typedefs. Word );
86
+ m_Byte .GetWindowText ( g_Typedefs. Byte );
87
+
88
+ m_Vec2.GetWindowText ( g_Typedefs. Vec2 );
89
+ m_Vec3.GetWindowText ( g_Typedefs. Vec3 );
90
+ m_Quat.GetWindowText ( g_Typedefs. Quat );
91
+ m_Matrix.GetWindowText ( g_Typedefs. Matrix );
92
+ m_PChar.GetWindowText ( g_Typedefs. PChar );
93
+ m_PWChar.GetWindowText ( g_Typedefs. PWChar );
95
94
96
95
CDialogEx::OnOK ( );
97
96
}
0 commit comments