📄 ~rightvod.~h
字号:
#if !defined(AFX_RIGHTVOD_H__3D11A8D2_2172_4CAA_A5BA_258D19D133C8__INCLUDED_)
#define AFX_RIGHTVOD_H__3D11A8D2_2172_4CAA_A5BA_258D19D133C8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightVOD.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRightVOD dialog
#include "../utils/filter_accel.h"
#include "../utils/Label.h"
#include "../utils/TransButton.h"
#include "../utils/TransGroup.h"
#include "../utils/HScrollListBox.h"
#include "../utils/Separator.h"
#include "em_dlg.h"
#include "notif_opt.h"
#include "notif_av.h"
#include "../utils/custom_msgs.h"
class CRightVOD : public em_dlg<accel_dlg<CDialog> >
{
TREC_DATELIST opt1;
TREC_FILESEGLIST opt2;
virtual void on_join();
virtual void on_leave();
//virtual void on_get_ok(DWORD ip, USHORT port, NET_OPTIONS no, void* stuff);
MSG1(on_get_ok);
MSG1(on_logged_out);
CString get_alias();
TREC_FILETIME start_ft;
static CRightVOD* self;
bool vod_opened;
VOD_SPEED get_vod_speed();
bool paused();
// Construction
public:
CRightVOD(CWnd* pParent = NULL); // standard constructor
static CRightVOD* the_one();
// Dialog Data
//{{AFX_DATA(CRightVOD)
enum { IDD = IDD_RIGHT_VOD };
CSeparator m_s;
CTransButton m_btn_frame;
CLabel m_startdate;
CTransButton m_btn_stop;
CTransButton m_btn_play;
CTransButton m_btn_pause;
CTransButton m_btn_ff;
CTransButton m_btn_fb;
CTransGroup m_7;
CHScrollListBox m_files;
CHScrollListBox m_date;
CComboBox m_cbwhich;
CComboBox m_cbchannel;
CTransButton m_btn_refresh;
CLabel m_title;
CLabel m_4;
CLabel m_3;
CTransGroup m_2;
CLabel m_1;
int m_channel;
int m_which;
CTime m_starttime;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRightVOD)
virtual BOOL PreTranslateMessage(MSG* msg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
LRESULT on_update_data(WPARAM, LPARAM);
LRESULT on_vod_opened(WPARAM, LPARAM);
LRESULT on_vod_closed(WPARAM, LPARAM);
LRESULT on_vod_set_speed(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CRightVOD)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeWhich();
afx_msg void OnSelchangeChannel();
afx_msg void OnSelchangeFiles();
afx_msg void OnSelchangeDate();
afx_msg void OnRefresh();
afx_msg void OnDate();
afx_msg void OnPlay();
afx_msg void OnPause();
afx_msg void OnStop();
afx_msg void OnFf();
afx_msg void OnFb();
afx_msg void OnFiles();
afx_msg void OnFrame();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RIGHTVOD_H__3D11A8D2_2172_4CAA_A5BA_258D19D133C8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -