4 * Copyright (C) 2005-2013 Team XBMC
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)
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.
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/>.
23 #include "guilib/GUIWindow.h"
24 #include "threads/CriticalSection.h"
26 class CGUIWindowFullScreen : public CGUIWindow
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);
41 virtual EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event);
44 void SeekChapter(int iChapter);
45 void FillInTVGroups();
48 enum SEEK_TYPE { SEEK_ABSOLUTE, SEEK_RELATIVE };
49 enum SEEK_DIRECTION { SEEK_FORWARD, SEEK_BACKWARD };
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
55 void SeekToTimeCodeStamp(SEEK_TYPE type, SEEK_DIRECTION direction = SEEK_FORWARD);
57 /*! \brief Convert the current timecode into a time in seconds to seek
59 double GetTimeCodeStamp();
61 bool m_bShowViewModeInfo;
62 unsigned int m_dwShowViewModeTimeout;
63 CGUIInfoBool m_showCodec;
65 bool m_bShowCurrentTime;
67 bool m_bGroupSelectShow;
69 unsigned int m_timeCodeTimeout;
70 int m_timeCodeStamp[6];
71 int m_timeCodePosition;