projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement MainWindow::add_view()
[pulseview.git]
/
pv
/
view
/
analogsignal.hpp
diff --git
a/pv/view/analogsignal.hpp
b/pv/view/analogsignal.hpp
index 9c9c6db8aeffd04321799567935ecf3ba17417ec..47a9980c0ff9dc8272aad16b391f96a8e361799d 100644
(file)
--- a/
pv/view/analogsignal.hpp
+++ b/
pv/view/analogsignal.hpp
@@
-48,6
+48,7
@@
private:
static const int MaximumVDivs;
static const int MaxScaleIndex, MinScaleIndex;
static const int MaximumVDivs;
static const int MaxScaleIndex, MinScaleIndex;
+ static const int InfoTextMarginRight, InfoTextMarginBottom;
public:
AnalogSignal(pv::Session &session,
public:
AnalogSignal(pv::Session &session,
@@
-96,6
+97,13
@@
public:
*/
void paint_mid(QPainter &p, const ViewItemPaintParams &pp);
*/
void paint_mid(QPainter &p, const ViewItemPaintParams &pp);
+ /**
+ * Paints the foreground layer of the item with a QPainter
+ * @param p the QPainter to paint into.
+ * @param pp the painting parameters object to paint with.
+ */
+ void paint_fore(QPainter &p, const ViewItemPaintParams &pp);
+
private:
void paint_grid(QPainter &p, int y, int left, int right);
private:
void paint_grid(QPainter &p, int y, int left, int right);