📄 video.h
字号:
// --------------------------------------------------------
// This demo file is dedicated to the Public Domain. See:
// http://creativecommons.org/licenses/publicdomain
// --------------------------------------------------------
#ifndef __VIDEO_H__#define __VIDEO_H__#include "Gui.h"class VideoTool;class GVideo;class GSupervisedLearner;class VideoController : public ControllerBase{protected: GVideo* m_pVideo1; GVideo* m_pVideo2; GVideo* m_pSelection1; GVideo* m_pSelection2; bool m_bPlaying;public: VideoController(); virtual ~VideoController(); GVideo* GetVideo1() { return m_pVideo1; } GVideo* GetVideo2() { return m_pVideo2; } GVideo* GetSelection1() { return m_pSelection1; } GVideo* GetSelection2() { return m_pSelection2; } void RunModal(); void RedrawCanvas(); void CleanCanvas(); void SetCurrentTool(VideoTool* pTool); void OnSelectTab(int i); void OnOpenVideo1(const char* szFilename); void OnOpenVideo2(const char* szFilename); void OnScrollWheel(bool bDirection); void Play(); void Stop();};#endif // __VIDEO_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -