author | StephaneLenclud |
Sun, 14 Apr 2013 22:50:40 +0200 | |
changeset 9 | fc2b0679eaff |
permissions | -rw-r--r-- |
StephaneLenclud@8 | 1 |
// DisplayTestDlg.h : header file |
StephaneLenclud@8 | 2 |
// |
StephaneLenclud@8 | 3 |
|
StephaneLenclud@8 | 4 |
#pragma once |
StephaneLenclud@8 | 5 |
|
StephaneLenclud@8 | 6 |
#define WM_DSP_PLUGIN_NOTIFY WM_APP + 1001 |
StephaneLenclud@8 | 7 |
|
StephaneLenclud@8 | 8 |
// CDisplayTestDlg dialog |
StephaneLenclud@8 | 9 |
class CDisplayTestDlg : public CDialog |
StephaneLenclud@8 | 10 |
{ |
StephaneLenclud@8 | 11 |
// Construction |
StephaneLenclud@8 | 12 |
public: |
StephaneLenclud@8 | 13 |
CDisplayTestDlg(CWnd* pParent = NULL); // standard constructor |
StephaneLenclud@8 | 14 |
|
StephaneLenclud@8 | 15 |
// Dialog Data |
StephaneLenclud@8 | 16 |
enum { IDD = IDD_DISPLAYTEST_DIALOG }; |
StephaneLenclud@8 | 17 |
CString m_strLine1; |
StephaneLenclud@8 | 18 |
CString m_strLine2; |
StephaneLenclud@8 | 19 |
CString m_strLine3; |
StephaneLenclud@8 | 20 |
|
StephaneLenclud@8 | 21 |
protected: |
StephaneLenclud@8 | 22 |
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support |
StephaneLenclud@8 | 23 |
|
StephaneLenclud@8 | 24 |
|
StephaneLenclud@8 | 25 |
// Implementation |
StephaneLenclud@8 | 26 |
protected: |
StephaneLenclud@8 | 27 |
HICON m_hIcon; |
StephaneLenclud@8 | 28 |
|
StephaneLenclud@8 | 29 |
UINT m_uEqTimer; |
StephaneLenclud@8 | 30 |
UINT m_uEqTimer2; |
StephaneLenclud@8 | 31 |
BOOL m_bVfdConnected; |
StephaneLenclud@8 | 32 |
BOOL m_bLcdConnected; |
StephaneLenclud@8 | 33 |
|
StephaneLenclud@8 | 34 |
void Init(); |
StephaneLenclud@8 | 35 |
void Uninit(); |
StephaneLenclud@8 | 36 |
void DisplayPluginMessage(UINT uErrCode, BOOL bError); |
StephaneLenclud@8 | 37 |
void UpdateControlUI(); |
StephaneLenclud@8 | 38 |
|
StephaneLenclud@8 | 39 |
// Generated message map functions |
StephaneLenclud@8 | 40 |
virtual BOOL OnInitDialog(); |
StephaneLenclud@8 | 41 |
afx_msg void OnSysCommand(UINT nID, LPARAM lParam); |
StephaneLenclud@8 | 42 |
afx_msg void OnPaint(); |
StephaneLenclud@8 | 43 |
afx_msg HCURSOR OnQueryDragIcon(); |
StephaneLenclud@8 | 44 |
afx_msg void OnDestroy(); |
StephaneLenclud@8 | 45 |
afx_msg void OnTimer(UINT nIDEvent); |
StephaneLenclud@8 | 46 |
DECLARE_MESSAGE_MAP() |
StephaneLenclud@8 | 47 |
|
StephaneLenclud@8 | 48 |
afx_msg void OnBnClickedButtonInit(); |
StephaneLenclud@8 | 49 |
afx_msg void OnBnClickedButtonVfdSendText(); |
StephaneLenclud@8 | 50 |
afx_msg void OnBnClickedButtonVfdRandomEq(); |
StephaneLenclud@8 | 51 |
afx_msg void OnBnClickedButtonLcdSendText(); |
StephaneLenclud@8 | 52 |
afx_msg void OnBnClickedButtonLcdRandomEq(); |
StephaneLenclud@8 | 53 |
afx_msg void OnLcdOrangeIcon(); |
StephaneLenclud@8 | 54 |
afx_msg void OnLcdMediaTypeIcon(); |
StephaneLenclud@8 | 55 |
afx_msg void OnLcdSpeakerIcon(); |
StephaneLenclud@8 | 56 |
afx_msg void OnLcdVideoCodecIcon(); |
StephaneLenclud@8 | 57 |
afx_msg void OnLcdAudioCodecIcon(); |
StephaneLenclud@8 | 58 |
afx_msg void OnLcdAspectRatioIcon(); |
StephaneLenclud@8 | 59 |
afx_msg void OnLcdEtcIcon(); |
StephaneLenclud@8 | 60 |
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); |
StephaneLenclud@8 | 61 |
|
StephaneLenclud@8 | 62 |
afx_msg LRESULT OnDisplayPluginNotify(WPARAM, LPARAM); |
StephaneLenclud@8 | 63 |
public: |
StephaneLenclud@8 | 64 |
afx_msg void OnBnClickedScrollChar(); |
StephaneLenclud@8 | 65 |
afx_msg void OnBnClickedNextChar(); |
StephaneLenclud@8 | 66 |
afx_msg void OnBnClickedPreviousChar(); |
StephaneLenclud@8 | 67 |
}; |