]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/cursorpair.hpp
Make sure get_time_extents() uses a signal that data was acquired for
[pulseview.git] / pv / views / trace / cursorpair.hpp
index 649875ee4f1e98ae5dde96bd24aaa011c505f8b3..ba6b2a7097590120942ad530325bf48bb4321aa0 100644 (file)
@@ -17,8 +17,8 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSORPAIR_HPP
-#define PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSORPAIR_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACE_CURSORPAIR_HPP
+#define PULSEVIEW_PV_VIEWS_TRACE_CURSORPAIR_HPP
 
 #include "cursor.hpp"
 #include "pv/globalsettings.hpp"
@@ -128,11 +128,11 @@ private:
        QSizeF text_size_;
        QRectF label_area_;
        bool label_incomplete_;
-       bool show_interval_, show_frequency_;
+       bool show_interval_, show_frequency_, show_samples_;
 };
 
 } // namespace trace
 } // namespace views
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSORPAIR_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACE_CURSORPAIR_HPP