#include "cursor.h"
+#include <QPainter>
+
class QPainter;
namespace pv {
*/
const Cursor& second() const;
+public:
+ void draw_markers(QPainter &p,
+ const QRect &rect, unsigned int prefix);
+
+ void draw_viewport_background(QPainter &p, const QRect &rect);
+
+ void draw_viewport_foreground(QPainter &p, const QRect &rect);
+
+ std::pair<float, float> get_cursor_offsets() const;
+
private:
Cursor _first, _second;
const View &_view;