X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewitempaintparams.hpp;h=e52b92f18e3b020ce0a82405aea2f94a4e8bd570;hp=f39085ce6712e91ff678168dbb807175672f3ae6;hb=8845be3c9c7d5aca02fb2efc4038f4735a5242d6;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff diff --git a/pv/views/trace/viewitempaintparams.hpp b/pv/views/trace/viewitempaintparams.hpp index f39085ce..e52b92f1 100644 --- a/pv/views/trace/viewitempaintparams.hpp +++ b/pv/views/trace/viewitempaintparams.hpp @@ -17,8 +17,8 @@ * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEWITEMPAINTPARAMS_HPP -#define PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEWITEMPAINTPARAMS_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACE_VIEWITEMPAINTPARAMS_HPP +#define PULSEVIEW_PV_VIEWS_TRACE_VIEWITEMPAINTPARAMS_HPP #include "pv/util.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,11 +90,11 @@ private: QRect rect_; double scale_; pv::util::Timestamp offset_; - bool bg_colour_state_; + bool bg_color_state_; }; } // namespace trace } // namespace views } // namespace pv -#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEWITEMPAINTPARAMS_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACE_VIEWITEMPAINTPARAMS_HPP