| 1 | //----------------------------------------------------------------------------- |
| 2 | // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net> |
| 3 | // |
| 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 | //----------------------------------------------------------------------------- |
| 10 | |
| 11 | #ifdef __cplusplus |
| 12 | extern "C" { |
| 13 | #endif |
| 14 | |
| 15 | void ShowGraphWindow(void); |
| 16 | void HideGraphWindow(void); |
| 17 | void RepaintGraphWindow(void); |
| 18 | void MainGraphics(void); |
| 19 | void InitGraphics(int argc, char **argv); |
| 20 | void ExitGraphics(void); |
| 21 | |
| 22 | #define MAX_GRAPH_TRACE_LEN (40000 * 8) |
| 23 | extern int GraphBuffer[MAX_GRAPH_TRACE_LEN]; |
| 24 | extern int GraphTraceLen; |
| 25 | extern double CursorScaleFactor; |
| 26 | extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault; |
| 27 | extern int CommandFinished; |
| 28 | extern int offline; |
| 29 | |
| 30 | #ifdef __cplusplus |
| 31 | } |
| 32 | #endif |