Permalink
Browse files

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

…e class, the two diverged at some point.
  • Loading branch information...
1 parent 788bc51 commit 9f447f43a6159595a27370d5f0b7ca29390bb3e8 @stuartm stuartm committed Jun 19, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 mythtv/libs/libmythtv/tv_play_win.cpp
  2. +1 −1 mythtv/libs/libmythtv/tv_play_win.h
@@ -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");
}
}
@@ -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);

0 comments on commit 9f447f4

Please sign in to comment.