X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fcursor.hpp;fp=pv%2Fview%2Fcursor.hpp;h=9f0adeddbd8eb0bdd20e16ded2fd16d6036533cc;hp=5df0ca2c3e4b34e176717a1175c0f6febdcec560;hb=4fabd61a2676246265c12d614cde496bf0a79075;hpb=d8d724cc987b7edb6a5e4e9d0dc8415f3cca06e9 diff --git a/pv/view/cursor.hpp b/pv/view/cursor.hpp index 5df0ca2..9f0aded 100644 --- a/pv/view/cursor.hpp +++ b/pv/view/cursor.hpp @@ -37,14 +37,7 @@ class Cursor : public TimeMarker Q_OBJECT public: - static const QColor LineColour; static const QColor FillColour; - static const QColor HighlightColour; - static const QColor TextColour; - - static const int Offset; - - static const int ArrowSize; public: /** @@ -62,20 +55,8 @@ public: */ QRectF get_label_rect(const QRect &rect) const; - /** - * Paints the cursor's label to the ruler. - * @param p The painter to draw with. - * @param rect The rectangle of the ruler client area. - */ - void paint_label(QPainter &p, const QRect &rect); - private: - void compute_text_size(QPainter &p, unsigned int prefix); - std::shared_ptr get_other_cursor() const; - -private: - QSizeF text_size_; }; } // namespace view