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) (side-by-side diff) | |
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 @@ +// ActionPage.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CActionPage dialog
+
+class CHostPropertyPages;
+class CActionPage : public CPropertyPage
+{
+ DECLARE_DYNCREATE(CActionPage)
+
+// Construction
+public:
+ void BrowseCtl(CComboBox& ctl);
+ HICON m_BrowseIcon;
+ HICON m_PreplayIcon;
+ void UpdateBrother();
+ void UpdatePage();
+ void SetupControls();
+ CHostPropertyPages* m_dad;
+ CActionPage();
+ ~CActionPage();
+
+// Dialog Data
+ //{{AFX_DATA(CActionPage)
+ enum { IDD = IDD_PROPS_ACTION };
+ CButton m_BrowseUpCtl;
+ CButton m_BrowseDnCtl;
+ CButton m_SoundPreviewUp;
+ CButton m_SoundPreviewDn;
+ CComboBox m_SoundUpCtl;
+ CComboBox m_SoundDnCtl;
+ CEdit m_CustomUpCtl;
+ CEdit m_CustomDnCtl;
+ CButton m_bPlayASoundUpCtl;
+ CButton m_bPlayASoundDnCtl;
+ CButton m_OverrideActionCtl;
+ CButton m_bCustomUpCtl;
+ CButton m_bCustomDnCtl;
+ BOOL m_bCustomDn;
+ BOOL m_bCustomUp;
+ BOOL m_OverrideAction;
+ BOOL m_bPlayASoundDn;
+ BOOL m_bPlayASoundUp;
+ CString m_CustomDn;
+ CString m_CustomUp;
+ CString m_SoundDn;
+ CString m_SoundUp;
+ //}}AFX_DATA
+
+
+// Overrides
+ // ClassWizard generate virtual function overrides
+ //{{AFX_VIRTUAL(CActionPage)
+ public:
+ virtual BOOL OnSetActive();
+ virtual BOOL OnKillActive();
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ //}}AFX_VIRTUAL
+
+// Implementation
+protected:
+ // Generated message map functions
+ //{{AFX_MSG(CActionPage)
+ afx_msg void OnCustomDown();
+ afx_msg void OnCustomUp();
+ afx_msg void OnOverrideAction();
+ afx_msg void OnPlayasoundDown();
+ afx_msg void OnPlayasoundUp();
+ afx_msg void OnPreviewSoundUp();
+ afx_msg void OnPreviewSoundDown();
+ afx_msg void OnBrowseSoundDown();
+ afx_msg void OnBrowseSoundUp();
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+
+};
|