Added a label colour chooser dialog
[pulseview.git] / pv / logicsignal.h
index 42acee8314685ae39fda03f01f53f84feee45e03..b1ef777ad47ced54fa30b9cc6183aa56c49e0c76 100644 (file)
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef PULSEVIEW_PV_LOGICSIGNAL_H
+#define PULSEVIEW_PV_LOGICSIGNAL_H
+
 #include "signal.h"
 
 #include <boost/shared_ptr.hpp>
@@ -58,12 +61,7 @@ private:
        void paint_caps(QPainter &p, QLineF *const lines,
                std::vector< std::pair<int64_t, bool> > &edges,
                bool level, double samples_per_pixel, double pixels_offset,
-               int x_offset, int y_offset);
-
-       /**
-        * Get the colour of the logic signal
-        */
-       QColor get_colour() const;
+               float x_offset, float y_offset);
 
        /**
         * When painting into the rectangle, calculate the y
@@ -77,3 +75,5 @@ private:
 };
 
 } // namespace pv
+
+#endif // PULSEVIEW_PV_LOGICSIGNAL_H