Fix keymap.
[vuplus_xbmc] / xbmc / guilib / GUIVideoControl.h
1 /*!
2 \file GUIVideoControl.h
3 \brief
4 */
5
6 #ifndef GUILIB_GUIVIDEOCONTROL_H
7 #define GUILIB_GUIVIDEOCONTROL_H
8
9 #pragma once
10
11 /*
12  *      Copyright (C) 2005-2013 Team XBMC
13  *      http://xbmc.org
14  *
15  *  This Program is free software; you can redistribute it and/or modify
16  *  it under the terms of the GNU General Public License as published by
17  *  the Free Software Foundation; either version 2, or (at your option)
18  *  any later version.
19  *
20  *  This Program is distributed in the hope that it will be useful,
21  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
22  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  *  GNU General Public License for more details.
24  *
25  *  You should have received a copy of the GNU General Public License
26  *  along with XBMC; see the file COPYING.  If not, see
27  *  <http://www.gnu.org/licenses/>.
28  *
29  */
30
31 #include "GUIControl.h"
32
33 /*!
34  \ingroup controls
35  \brief
36  */
37 class CGUIVideoControl :
38       public CGUIControl
39 {
40 public:
41   CGUIVideoControl(int parentID, int controlID, float posX, float posY, float width, float height);
42   virtual ~CGUIVideoControl(void);
43   virtual CGUIVideoControl *Clone() const { return new CGUIVideoControl(*this); };
44
45   virtual void Process(unsigned int currentTime, CDirtyRegionList &dirtyregions);
46   virtual void Render();
47   virtual EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event);
48   virtual bool CanFocus() const;
49   virtual bool CanFocusFromPoint(const CPoint &point) const;
50 };
51 #endif