author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | fb8b43dbce8bc310718614384297aeaabb9a3cbb (patch) (unidiff) | |
tree | af9d2c2b71ddffff93a97a02fe26611096b78645 /ActionPage.h | |
download | bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.zip bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.gz bigbrother-fb8b43dbce8bc310718614384297aeaabb9a3cbb.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/bigbrother/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | ActionPage.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/ActionPage.h b/ActionPage.h new file mode 100644 index 0000000..570abd0 --- a/dev/null +++ b/ActionPage.h | |||
@@ -0,0 +1,78 @@ | |||
1 | // ActionPage.h : header file | ||
2 | // | ||
3 | |||
4 | ///////////////////////////////////////////////////////////////////////////// | ||
5 | // CActionPage dialog | ||
6 | |||
7 | class CHostPropertyPages; | ||
8 | class CActionPage : public CPropertyPage | ||
9 | { | ||
10 | DECLARE_DYNCREATE(CActionPage) | ||
11 | |||
12 | // Construction | ||
13 | public: | ||
14 | void BrowseCtl(CComboBox& ctl); | ||
15 | HICON m_BrowseIcon; | ||
16 | HICON m_PreplayIcon; | ||
17 | void UpdateBrother(); | ||
18 | void UpdatePage(); | ||
19 | void SetupControls(); | ||
20 | CHostPropertyPages* m_dad; | ||
21 | CActionPage(); | ||
22 | ~CActionPage(); | ||
23 | |||
24 | // Dialog Data | ||
25 | //{{AFX_DATA(CActionPage) | ||
26 | enum { IDD = IDD_PROPS_ACTION }; | ||
27 | CButtonm_BrowseUpCtl; | ||
28 | CButtonm_BrowseDnCtl; | ||
29 | CButtonm_SoundPreviewUp; | ||
30 | CButtonm_SoundPreviewDn; | ||
31 | CComboBoxm_SoundUpCtl; | ||
32 | CComboBoxm_SoundDnCtl; | ||
33 | CEditm_CustomUpCtl; | ||
34 | CEditm_CustomDnCtl; | ||
35 | CButtonm_bPlayASoundUpCtl; | ||
36 | CButtonm_bPlayASoundDnCtl; | ||
37 | CButtonm_OverrideActionCtl; | ||
38 | CButtonm_bCustomUpCtl; | ||
39 | CButtonm_bCustomDnCtl; | ||
40 | BOOLm_bCustomDn; | ||
41 | BOOLm_bCustomUp; | ||
42 | BOOLm_OverrideAction; | ||
43 | BOOLm_bPlayASoundDn; | ||
44 | BOOLm_bPlayASoundUp; | ||
45 | CStringm_CustomDn; | ||
46 | CStringm_CustomUp; | ||
47 | CStringm_SoundDn; | ||
48 | CStringm_SoundUp; | ||
49 | //}}AFX_DATA | ||
50 | |||
51 | |||
52 | // Overrides | ||
53 | // ClassWizard generate virtual function overrides | ||
54 | //{{AFX_VIRTUAL(CActionPage) | ||
55 | public: | ||
56 | virtual BOOL OnSetActive(); | ||
57 | virtual BOOL OnKillActive(); | ||
58 | protected: | ||
59 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
60 | //}}AFX_VIRTUAL | ||
61 | |||
62 | // Implementation | ||
63 | protected: | ||
64 | // Generated message map functions | ||
65 | //{{AFX_MSG(CActionPage) | ||
66 | afx_msg void OnCustomDown(); | ||
67 | afx_msg void OnCustomUp(); | ||
68 | afx_msg void OnOverrideAction(); | ||
69 | afx_msg void OnPlayasoundDown(); | ||
70 | afx_msg void OnPlayasoundUp(); | ||
71 | afx_msg void OnPreviewSoundUp(); | ||
72 | afx_msg void OnPreviewSoundDown(); | ||
73 | afx_msg void OnBrowseSoundDown(); | ||
74 | afx_msg void OnBrowseSoundUp(); | ||
75 | //}}AFX_MSG | ||
76 | DECLARE_MESSAGE_MAP() | ||
77 | |||
78 | }; | ||