projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added cursor dragging
[pulseview.git]
/
pv
/
view
/
viewport.h
diff --git
a/pv/view/viewport.h
b/pv/view/viewport.h
index e32ab09cfd10749bc90f2b4d5e7eaf2474bfbb3e..49b97e3b0d71de953db0b76e70dc9b68e0b7f55a 100644
(file)
--- a/
pv/view/viewport.h
+++ b/
pv/view/viewport.h
@@
-1,5
+1,5
@@
/*
/*
- * This file is part of the
sigrok
project.
+ * This file is part of the
PulseView
project.
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
*
@@
-18,8
+18,8
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef PV_VIEW_VIEWPORT_H
-#define PV_VIEW_VIEWPORT_H
+#ifndef P
ULSEVIEW_P
V_VIEW_VIEWPORT_H
+#define P
ULSEVIEW_P
V_VIEW_VIEWPORT_H
#include <QTimer>
#include <QWidget>
#include <QTimer>
#include <QWidget>
@@
-51,6
+51,11
@@
private:
void mouseReleaseEvent(QMouseEvent *event);
void wheelEvent(QWheelEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void wheelEvent(QWheelEvent *event);
+private:
+ void draw_cursors_background(QPainter &p);
+
+ void draw_cursors_foreground(QPainter &p);
+
private:
View &_view;
private:
View &_view;
@@
-61,4
+66,4
@@
private:
} // namespace view
} // namespace pv
} // namespace view
} // namespace pv
-#endif // PV_VIEW_VIEWPORT_H
+#endif // P
ULSEVIEW_P
V_VIEW_VIEWPORT_H