]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
port adam's changes to add cursor pos in plot
authorskamkar <skamkar@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 8 Jul 2009 01:09:20 +0000 (01:09 +0000)
committerskamkar <skamkar@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 8 Jul 2009 01:09:20 +0000 (01:09 +0000)
winsrc/gui.cpp

index 44792b4c12ebfce412599b9a0c22449ed4a2ca8d..0d2043cccd1f0ae2daf7b59abcf67f0b1ed433a0 100644 (file)
@@ -248,9 +248,9 @@ static void PaintGraph(HDC hdc)
        }\r
 \r
        char str[100];\r
-       sprintf(str, "@%d   max=%d min=%d mean=%d n=%d/%d    dt=%d [%.3f] zoom=%.3f",\r
+       sprintf(str, "@%d   max=%d min=%d mean=%d n=%d/%d    dt=%d [%.3f] zoom=%.3f CursorA=%d CursorB=%d",\r
                GraphStart, yMax, yMin, yMean, n, GraphTraceLen,\r
-               CursorBPos - CursorAPos, (CursorBPos - CursorAPos)/CursorScaleFactor, GraphPixelsPerPoint);\r
+               CursorBPos - CursorAPos, (CursorBPos - CursorAPos)/CursorScaleFactor, GraphPixelsPerPoint, CursorAPos, CursorBPos);\r
        TextOut(hdc, 50, r.bottom - 20, str, strlen(str));\r
 }\r
 \r
Impressum, Datenschutz