Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change the signature of TvPlayWindow::gestureEvent() to match the bas…

…e class, the two diverged at some point.
  • Loading branch information...
commit 9f447f43a6159595a27370d5f0b7ca29390bb3e8 1 parent 788bc51
@stuartm stuartm authored
View
4 mythtv/libs/libmythtv/tv_play_win.cpp
@@ -62,10 +62,10 @@ void TvPlayWindow::UpdateProgress(void)
* \param uitype The mythuitype receiving the event
* \param event Mouse event
*/
-void TvPlayWindow::gestureEvent(MythUIType *uitype, MythGestureEvent *event)
+bool TvPlayWindow::gestureEvent(MythGestureEvent *event)
{
if (event->gesture() == MythGestureEvent::Click)
{
-
+ LOG(VB_GENERAL, LOG_NOTICE, "TV Play Window Click");
}
}
View
2  mythtv/libs/libmythtv/tv_play_win.h
@@ -17,7 +17,7 @@ class TvPlayWindow : public MythScreenType
TvPlayWindow(MythScreenStack *parent, const char *name);
~TvPlayWindow();
- virtual void gestureEvent(MythUIType *, MythGestureEvent *);
+ virtual bool gestureEvent(MythGestureEvent *);
virtual bool Create(void);
void UpdateProgress(void);
Please sign in to comment.
Something went wrong with that request. Please try again.