]>
Commit | Line | Data |
---|---|---|
a553f267 | 1 | //----------------------------------------------------------------------------- |
212ef3a0 | 2 | // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net> |
3 | // | |
a553f267 | 4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // GUI functions | |
9 | //----------------------------------------------------------------------------- | |
0d704c7f | 10 | #include <string.h> |
a553f267 | 11 | |
6658905f | 12 | #ifdef __cplusplus |
13 | extern "C" { | |
14 | #endif | |
15 | ||
16 | void ShowGraphWindow(void); | |
17 | void HideGraphWindow(void); | |
18 | void RepaintGraphWindow(void); | |
19 | void MainGraphics(void); | |
20 | void InitGraphics(int argc, char **argv); | |
21 | void ExitGraphics(void); | |
22 | ||
0d704c7f | 23 | #define MAX_GRAPH_TRACE_LEN (40000 * 8 ) |
6658905f | 24 | extern int GraphBuffer[MAX_GRAPH_TRACE_LEN]; |
25 | extern int GraphTraceLen; | |
0d704c7f MHS |
26 | extern int s_Buff[MAX_GRAPH_TRACE_LEN]; |
27 | ||
6658905f | 28 | extern double CursorScaleFactor; |
7ddb9900 | 29 | extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault; |
6658905f | 30 | extern int CommandFinished; |
d722c4ce | 31 | extern int offline; |
6658905f | 32 | |
0d704c7f MHS |
33 | //Operations defined in data_operations |
34 | extern int autoCorr(const int* in, int *out, size_t len, int window); | |
35 | extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down); | |
36 | ||
37 | ||
6658905f | 38 | #ifdef __cplusplus |
39 | } | |
40 | #endif |