X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitem.hpp;h=f3e0f9b67f5470b6942ae52d10351a2c58ea5db2;hb=641574bcc118be0b6dc3a65039ab3497f9d7241a;hp=e1cc20040bd8ab33f3cded664454ebce23835136;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff;p=pulseview.git diff --git a/pv/views/trace/viewitem.hpp b/pv/views/trace/viewitem.hpp index e1cc200..f3e0f9b 100644 --- a/pv/views/trace/viewitem.hpp +++ b/pv/views/trace/viewitem.hpp @@ -98,7 +98,7 @@ public: * Get the drag point. * @param rect the rectangle of the widget area. */ - virtual QPoint point(const QRect &rect) const = 0; + virtual QPoint drag_point(const QRect &rect) const = 0; /** * Computes the outline rectangle of a label. @@ -147,12 +147,12 @@ public: public: /** - * Gets the text colour. - * @remarks This colour is computed by comparing the lightness - * of the trace colour against a threshold to determine whether + * Gets the text color. + * @remarks This color is computed by comparing the lightness + * of the trace color against a threshold to determine whether * white or black would be more visible. */ - static QColor select_text_colour(QColor background); + static QColor select_text_color(QColor background); public: virtual QMenu* create_context_menu(QWidget *parent);