video.h
来自「一个由Mike Gashler完成的机器学习方面的includes neural」· C头文件 代码 · 共 47 行
H
47 行
// --------------------------------------------------------
// 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 + =
减小字号Ctrl + -
显示快捷键?