aboutsummaryrefslogtreecommitdiff
path: root/src/ui/textscroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/textscroller.h')
-rw-r--r--src/ui/textscroller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/textscroller.h b/src/ui/textscroller.h
index bab7b5998..895796ca1 100644
--- a/src/ui/textscroller.h
+++ b/src/ui/textscroller.h
@@ -57,8 +57,12 @@ protected:
void showEvent (QShowEvent *);
void paintEvent (QPaintEvent *);
void mousePressEvent (QMouseEvent *);
+ void mouseReleaseEvent (QMouseEvent *);
+ void mouseMoveEvent (QMouseEvent *);
private:
+ bool m_pressing;
+ int press_pos;
bool m_update;
static TextScroller *pointer;
QPixmap m_pixmap;