]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signalscalehandle.hpp
ViewPort: Make ViewItemPaintParams mutable
[pulseview.git] / pv / view / signalscalehandle.hpp
index 9d1ae93d96b16790c17970e717e0f94cdd4cd036..193d352fd130ffa6d49a9958259e2444527fe40f 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef PULSEVIEW_PV_VIEW_SIGNALSCALEHANDLE_HPP
-#define PULSEVIEW_PV_VIEW_SIGNALSCALEHANDLE_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_SIGNALSCALEHANDLE_HPP
+#define PULSEVIEW_PV_VIEWS_TRACEVIEW_SIGNALSCALEHANDLE_HPP
 
 #include "rowitem.hpp"
 
 namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
 
 class Signal;
 
@@ -81,13 +81,14 @@ public:
         * @param p the QPainter to paint into.
         * @param pp the painting parameters object to paint with.
         */
-       void paint_fore(QPainter &p, const ViewItemPaintParams &pp);
+       void paint_fore(QPainter &p, ViewItemPaintParams &pp);
 
 private:
        Signal &owner_;
 };
 
-} // namespace view
+} // namespace TraceView
+} // namespace views
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEW_SIGNALSCALEHANDLE_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_SIGNALSCALEHANDLE_HPP