X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fviewport.h;h=7d32c4334ff57c24f03474f9b3fe6455039d0eec;hb=8d44d030c3923055f2ea81d5334d3a3bce7900c2;hp=e32ab09cfd10749bc90f2b4d5e7eaf2474bfbb3e;hpb=64b60583ff73db2bd9458817276687b030fe48e1;p=pulseview.git diff --git a/pv/view/viewport.h b/pv/view/viewport.h index e32ab09c..7d32c433 100644 --- 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 * @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PV_VIEW_VIEWPORT_H -#define PV_VIEW_VIEWPORT_H +#ifndef PULSEVIEW_PV_VIEW_VIEWPORT_H +#define PULSEVIEW_PV_VIEW_VIEWPORT_H #include #include @@ -51,6 +51,14 @@ private: void mouseReleaseEvent(QMouseEvent *event); void wheelEvent(QWheelEvent *event); +private: + void draw_cursors_background(QPainter &p); + + void draw_cursors_foreground(QPainter &p); + +private slots: + void on_signals_moved(); + private: View &_view; @@ -61,4 +69,4 @@ private: } // namespace view } // namespace pv -#endif // PV_VIEW_VIEWPORT_H +#endif // PULSEVIEW_PV_VIEW_VIEWPORT_H