1 /*
2  *  Copyright (C) 2005-2018 Team Kodi
3  *  This file is part of Kodi - https://kodi.tv
4  *
5  *  SPDX-License-Identifier: GPL-2.0-or-later
6  *  See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 /*!
12 \file GUIVideoControl.h
13 \brief
14 */
15 
16 #include "GUIControl.h"
17 
18 /*!
19  \ingroup controls
20  \brief
21  */
22 class CGUIVideoControl :
23       public CGUIControl
24 {
25 public:
26   CGUIVideoControl(int parentID, int controlID, float posX, float posY, float width, float height);
27   ~CGUIVideoControl(void) override;
Clone()28   CGUIVideoControl *Clone() const override { return new CGUIVideoControl(*this); };
29 
30   void Process(unsigned int currentTime, CDirtyRegionList &dirtyregions) override;
31   void Render() override;
32   void RenderEx() override;
33   EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event) override;
34   bool CanFocus() const override;
35   bool CanFocusFromPoint(const CPoint &point) const override;
36 };
37 
38