MythTV  master
tv_play_win.h
Go to the documentation of this file.
1 #ifndef TVPLAYWIN_H_
2 #define TVPLAYWIN_H_
3 
6 
8 
13 {
14  Q_OBJECT
15 
16  public:
17  TvPlayWindow(MythScreenStack *parent, const char *name);
18  ~TvPlayWindow() override = default;
19 
20  bool gestureEvent(MythGestureEvent *event) override; // MythUIType
21  bool Create(void) override; // MythScreenType
22 
23  void UpdateProgress(void);
24 
25  protected:
27  int m_progress {0};
28 };
29 
30 #endif
TvPlayWindow::Create
bool Create(void) override
Definition: tv_play_win.cpp:21
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
MythUIProgressBar
Progress bar widget.
Definition: mythuiprogressbar.h:12
TvPlayWindow::UpdateProgress
void UpdateProgress(void)
Definition: tv_play_win.cpp:44
mythgesture.h
A C++ ripoff of the stroke library for MythTV.
TvPlayWindow::TvPlayWindow
TvPlayWindow(MythScreenStack *parent, const char *name)
Definition: tv_play_win.cpp:15
TvPlayWindow::m_progress
int m_progress
Definition: tv_play_win.h:27
MythGestureEvent
A custom event that represents a mouse gesture.
Definition: mythgesture.h:39
TvPlayWindow::~TvPlayWindow
~TvPlayWindow() override=default
TvPlayWindow::gestureEvent
bool gestureEvent(MythGestureEvent *event) override
Mouse click/movement handler, recieves mouse gesture events from event loop.
Definition: tv_play_win.cpp:60
TvPlayWindow
Simple screen shown while the video player is starting up.
Definition: tv_play_win.h:12
TvPlayWindow::m_progressBar
MythUIProgressBar * m_progressBar
Definition: tv_play_win.h:26
mythscreentype.h