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
A custom event that represents a mouse gesture.
Definition: mythgesture.h:40
Screen in which all other widgets are contained and rendered.
Progress bar widget.
Simple screen shown while the video player is starting up.
Definition: tv_play_win.h:13
void UpdateProgress(void)
Definition: tv_play_win.cpp:44
bool gestureEvent(MythGestureEvent *event) override
Mouse click/movement handler, recieves mouse gesture events from event loop.
Definition: tv_play_win.cpp:60
bool Create(void) override
Definition: tv_play_win.cpp:21
MythUIProgressBar * m_progressBar
Definition: tv_play_win.h:26
TvPlayWindow(MythScreenStack *parent, const char *name)
Definition: tv_play_win.cpp:15
~TvPlayWindow() override=default
A C++ ripoff of the stroke library for MythTV.