X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitem.hpp;h=e07b26b87912cc1f072c1f4fd12e2eff2cdbe9df;hb=9e773fecf2d4ab8f2fc6e1cc880b9102c22ec228;hp=39cf034562fb0e11cb500e949a424d9265b47fad;hpb=a3d5a7c7682ebb991718b49ae916c5840b3b6b51;p=pulseview.git diff --git a/pv/views/trace/viewitem.hpp b/pv/views/trace/viewitem.hpp index 39cf034..e07b26b 100644 --- a/pv/views/trace/viewitem.hpp +++ b/pv/views/trace/viewitem.hpp @@ -147,15 +147,17 @@ 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); + virtual QMenu* create_header_context_menu(QWidget *parent); + + virtual QMenu* create_view_context_menu(QWidget *parent); virtual pv::widgets::Popup* create_popup(QWidget *parent);