Add a slider in the plot window for navigation

This commit is contained in:
wh201906 committed 2023-11-17 10:59:14 +08:00
1 parent 5c79721b19
commit 0b9f11a249
4 files changed
+66 -4

No files matched your search

+1
View File
@@ -52,6 +52,7 @@ char g_CursorScaleFactorUnit[11] = {0};
double g_PlotGridX = 0, g_PlotGridY = 0, g_PlotGridXdefault = 64, g_PlotGridYdefault = 64;
uint32_t g_CursorCPos = 0, g_CursorDPos = 0, g_GraphStop = 0;
uint32_t g_GraphStart = 0; // Starting point/offset for the left side of the graph
uint32_t g_GraphStart_old = 0;
double g_GraphPixelsPerPoint = 1.f; // How many visual pixels are between each sample point (x axis)
static bool flushAfterWrite = false;
double g_GridOffset = 0;