projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Render ruler and signals with sub-pixel accuracy
[pulseview.git]
/
pv
/
logicsignal.h
diff --git
a/pv/logicsignal.h
b/pv/logicsignal.h
index e12f0ca404d4dd0c0c38ef8c72aec0e94179b979..5c527206d521faf915345aa3940a949ae937cb68 100644
(file)
--- a/
pv/logicsignal.h
+++ b/
pv/logicsignal.h
@@
-18,6
+18,9
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* 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>
#include "signal.h"
#include <boost/shared_ptr.hpp>
@@
-55,10
+58,10
@@
public:
private:
private:
-
int
paint_caps(QPainter &p, QLineF *const lines,
+
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,
std::vector< std::pair<int64_t, bool> > &edges,
bool level, double samples_per_pixel, double pixels_offset,
-
int x_offset, in
t y_offset);
+
float x_offset, floa
t y_offset);
/**
* Get the colour of the logic signal
/**
* Get the colour of the logic signal
@@
-77,3
+80,5
@@
private:
};
} // namespace pv
};
} // namespace pv
+
+#endif // PULSEVIEW_PV_LOGICSIGNAL_H