FIX: [droid] set "remote as keyboard" default to true
[vuplus_xbmc] / xbmc / video / windows / GUIWindowFullScreen.h
1 #pragma once
2
3 /*
4  *      Copyright (C) 2005-2013 Team XBMC
5  *      http://xbmc.org
6  *
7  *  This Program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 2, or (at your option)
10  *  any later version.
11  *
12  *  This Program is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with XBMC; see the file COPYING.  If not, see
19  *  <http://www.gnu.org/licenses/>.
20  *
21  */
22
23 #include "guilib/GUIWindow.h"
24 #include "threads/CriticalSection.h"
25
26 class CGUIWindowFullScreen : public CGUIWindow
27 {
28 public:
29   CGUIWindowFullScreen(void);
30   virtual ~CGUIWindowFullScreen(void);
31   virtual bool OnMessage(CGUIMessage& message);
32   virtual bool OnAction(const CAction &action);
33   virtual void FrameMove();
34   virtual void Process(unsigned int currentTime, CDirtyRegionList &dirtyregion);
35   virtual void Render();
36   virtual void OnWindowLoaded();
37   void ChangetheTimeCode(int remote);
38   void ChangetheTVGroup(bool next);
39
40 protected:
41   virtual EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event);
42
43 private:
44   void SeekChapter(int iChapter);
45   void FillInTVGroups();
46   void ToggleOSD();
47
48   enum SEEK_TYPE { SEEK_ABSOLUTE, SEEK_RELATIVE };
49   enum SEEK_DIRECTION { SEEK_FORWARD, SEEK_BACKWARD };
50
51   /*! \brief Seek to the current time code stamp, either relative or absolute
52    \param type - whether the seek is absolute or relative
53    \param direction - if relative seeking, which direction to seek
54    */
55   void SeekToTimeCodeStamp(SEEK_TYPE type, SEEK_DIRECTION direction = SEEK_FORWARD);
56
57   /*! \brief Convert the current timecode into a time in seconds to seek
58    */
59   double GetTimeCodeStamp();
60
61   bool m_bShowViewModeInfo;
62   unsigned int m_dwShowViewModeTimeout;
63   CGUIInfoBool m_showCodec;
64
65   bool m_bShowCurrentTime;
66
67   bool m_bGroupSelectShow;
68   bool m_timeCodeShow;
69   unsigned int m_timeCodeTimeout;
70   int m_timeCodeStamp[6];
71   int m_timeCodePosition;
72 };