Added paged moving to the plot GUI

This commit is contained in:
mcd1992 2019-05-13 19:39:27 -05:00
commit 528da6ec32
2 changed files with 30 additions and 6 deletions

View file

@ -31,8 +31,8 @@ class ProxWidget;
class Plot: public QWidget {
private:
QWidget *master;
uint32_t GraphStart;
double GraphPixelsPerPoint;
uint32_t GraphStart; // Starting point/offset for the left side of the graph
double GraphPixelsPerPoint; // How many visual pixels are between each sample point (x axis)
uint32_t CursorAPos;
uint32_t CursorBPos;
void PlotGraph(int *buffer, size_t len, QRect r, QRect r2, QPainter *painter, int graphNum);