Trace: Moved get_text_colour into SelectableItem
[pulseview.git] / pv / view / trace.hpp
index c0b94df26c00f86fbf61b5d673131e95a472165e..a82520ccfdc68fedf589ea8afb326c4b99016fbb 100644 (file)
@@ -95,15 +95,6 @@ public:
        QRectF label_rect(int right) const;
 
 protected:
-
-       /**
-        * Gets the text colour.
-        * @remarks This colour is computed by comparing the lightness
-        * of the trace colour against a threshold to determine whether
-        * white or black would be more visible.
-        */
-       QColor get_text_colour() const;
-
        /**
         * Paints a zero axis across the viewport.
         * @param p the QPainter to paint into.