*/
#include <cassert>
+#include <cmath>
#include "view.h"
#include "viewport.h"
#include <QMouseEvent>
+using std::abs;
using std::max;
using std::min;
using std::shared_ptr;
const vector< shared_ptr<Trace> > traces(_view.get_traces());
for (const shared_ptr<Trace> t : traces) {
assert(t);
- h = max(t->get_v_offset() + View::SignalHeight, h);
+ h = max(t->v_offset() + View::SignalHeight, h);
}
return h;