X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitempaintparams.hpp;h=725a4336bbcb4944d3ca09992ba9da293523ee6c;hp=f39085ce6712e91ff678168dbb807175672f3ae6;hb=641574bcc118be0b6dc3a65039ab3497f9d7241a;hpb=5e685656d6686eb66a39450d1b324f6382fc60c5 diff --git a/pv/views/trace/viewitempaintparams.hpp b/pv/views/trace/viewitempaintparams.hpp index f39085c..725a433 100644 --- a/pv/views/trace/viewitempaintparams.hpp +++ b/pv/views/trace/viewitempaintparams.hpp @@ -75,9 +75,9 @@ public: return (offset_ / scale_).convert_to(); } - bool next_bg_colour_state() { - const bool state = bg_colour_state_; - bg_colour_state_ = !bg_colour_state_; + bool next_bg_color_state() { + const bool state = bg_color_state_; + bg_color_state_ = !bg_color_state_; return state; } @@ -90,7 +90,7 @@ private: QRect rect_; double scale_; pv::util::Timestamp offset_; - bool bg_colour_state_; + bool bg_color_state_; }; } // namespace trace