-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCPCBTESTDlg.h
87 lines (75 loc) · 2.36 KB
/
CPCBTESTDlg.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
// CPCBTESTDlg.h : header file
//
#if !defined(AFX_CPCBTESTDLG_H__673E7EF4_4211_4178_900D_0D6F7CA9CE94__INCLUDED_)
#define AFX_CPCBTESTDLG_H__673E7EF4_4211_4178_900D_0D6F7CA9CE94__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCPCBTESTDlg dialog
#include "ColorPickerCB.h"
#include "afxwin.h"
#include "Wave.h"
class CCPCBTESTDlg : public CDialog
{
// Construction
public:
CCPCBTESTDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCPCBTESTDlg)
enum { IDD = IDD_CPCBTEST_DIALOG };
CColorPickerCB m_cbOutBack;
CColorPickerCB m_cbInBack;
CColorPickerCB m_cbInFont;
CColorPickerCB m_cbOutFont;
int m_valueEdit;
CFont m_font;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCPCBTESTDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
void UpdateFontSize(int fontH);
void UpdateTempWave();
// Generated message map functions
//{{AFX_MSG(CCPCBTESTDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
CEdit m_editFontHeight;
CStatic m_textExampleOut;
CStatic m_textExampleIn;
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnEnChangeEditSizeFont();
afx_msg void OnCbnSelchangeFocusedcb();
afx_msg void OnCbnSelchangeInactivecb();
afx_msg void OnCbnSelchangeDisabledcb();
afx_msg void OnCbnSelchangeDroppedcb();
//afx_msg void OnDeltaposSpin2(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnDestroy();
CButton m_CheckAutosay;
CButton m_CheckSetFocusToOut;
CComboBox m_ComboFontSize;
afx_msg void OnCbnSelchangeComboFontSize();
CButton mCheckAutoLog;
CButton mCheckSoundList;
CComboBox m_ComboStyleAnnounce;
afx_msg void OnCbnSelchangeComboStyleAnnounce();
int m_currWaveStyle;
Wave* temp_scene_wave;
Wave* temp_inv_wave;
Wave* temp_ways_wave;
afx_msg void OnBnClickedButtonCheckAnnounce();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CPCBTESTDLG_H__673E7EF4_4211_4178_900D_0D6F7CA9CE94__INCLUDED_)