📄 tccmmbdlg.h
字号:
// tcCMMBDlg.h : header file
//
#if !defined(AFX_TCCMMBDLG_H__84CFAC5A_8475_4C95_9CB3_43221F74F9DF__INCLUDED_)
#define AFX_TCCMMBDLG_H__84CFAC5A_8475_4C95_9CB3_43221F74F9DF__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "SkinDialog.h"
#include "BattBtn.h"
#include "Frame.h"
class CCMMBDemuxer : public CDemuxer
{
// virtual void OnNalVideoUnit(DWORD dwRelativeTime,BYTE* data, DWORD len);
virtual void OnVideoNalData(DWORD dwRelativeTime,BYTE* data, WORD len, NAL_FRAGMENT_POS_IND StartEnd);
// virtual void OnAacAudioUnit(DWORD dwRelativeTime, BYTE* data, DWORD len);
virtual void OnAudioAacFrame(DWORD dwRelativeTime, BYTE* data, WORD len);
virtual void OnContinusServiceInfo(CService& rService);
virtual void OnShortServiceInfo(CService& rService, int left);
virtual void OnESGData(LPBYTE pIn, DWORD len);
};
/////////////////////////////////////////////////////////////////////////////
// CTcCMMBDlg dialog
class CTcCMMBDlg : public CSkinDialog
{
// Construction
public:
CTcCMMBDlg(CWnd* pParent = NULL); // standard constructor
int InitPlayer();
// Dialog Data
//{{AFX_DATA(CTcCMMBDlg)
enum { IDD = IDD_TCCMMB_DIALOG };
CButton m_allscreen;
CComboBox m_combofreq;
CBitmapBtn m_btn_scan;
CBitmapBtn m_btn_prev;
CBitmapBtn m_btn_pip;
CBitmapBtn m_btn_next;
CBitmapBtn m_btn_exit;
CBattBtn m_batt;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTcCMMBDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
int ReleaseINNO();
int InitINNO();
BOOL GetScannedInfo();
void ReleasePlayer();
void DisplayOsd(CPaintDC* pDc, WCHAR* pStr, RECT* pRect, int fontSize);
void ViewOSD();
void SwitchFullScreen();
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTcCMMBDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnBtnExit();
afx_msg void OnBtnNext();
afx_msg void OnBtnPip();
afx_msg void OnBtnPrev();
afx_msg void OnBtnScan();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSelchangeCombFreq();
afx_msg void OnCheckfullscreen();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
FILE* mpScanData;
DWORD m_SignalStrength;
UINT mSignalStrengthTimer;
BOOL m_fullScreen;
void DisplayAllControls(BOOL flag);
void DisplayCurrentBattery();
RECT m_videoWindow;
void InitButtons();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TCCMMBDLG_H__84CFAC5A_8475_4C95_9CB3_43221F74F9DF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -