projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
icons: Renamed probe.svg to channels.svg
[pulseview.git]
/
pv
/
view
/
cursorpair.h
diff --git
a/pv/view/cursorpair.h
b/pv/view/cursorpair.h
index 2e70f7da92b9dca7dec6770713624aefa8cf8b8c..6c56dcd71dc89499dc8a5eceecd6593f43be1a85 100644
(file)
--- a/
pv/view/cursorpair.h
+++ b/
pv/view/cursorpair.h
@@
-23,7
+23,7
@@
#include "cursor.h"
#include "cursor.h"
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
#include <QPainter>
#include <QPainter>
@@
-42,17
+42,17
@@
public:
* Constructor.
* @param view A reference to the view that owns this cursor pair.
*/
* Constructor.
* @param view A reference to the view that owns this cursor pair.
*/
- CursorPair(
const
View &view);
+ CursorPair(View &view);
/**
* Returns a pointer to the first cursor.
*/
/**
* Returns a pointer to the first cursor.
*/
-
boost
::shared_ptr<Cursor> first() const;
+
std
::shared_ptr<Cursor> first() const;
/**
* Returns a pointer to the second cursor.
*/
/**
* Returns a pointer to the second cursor.
*/
-
boost
::shared_ptr<Cursor> second() const;
+
std
::shared_ptr<Cursor> second() const;
public:
QRectF get_label_rect(const QRect &rect) const;
public:
QRectF get_label_rect(const QRect &rect) const;
@@
-69,7
+69,7
@@
public:
std::pair<float, float> get_cursor_offsets() const;
private:
std::pair<float, float> get_cursor_offsets() const;
private:
-
boost
::shared_ptr<Cursor> _first, _second;
+
std
::shared_ptr<Cursor> _first, _second;
const View &_view;
QSizeF _text_size;
const View &_view;
QSizeF _text_size;