1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
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
7 //-----------------------------------------------------------------------------
9 //-----------------------------------------------------------------------------
22 void ShowGraphWindow(void);
23 void HideGraphWindow(void);
24 void RepaintGraphWindow(void);
25 void MainGraphics(void);
26 void InitGraphics(int argc
, char **argv
, char *script_cmds_file
, char *script_cmd
, bool stayInCommandLoop
);
27 void ExitGraphics(void);
29 extern double CursorScaleFactor
;
30 extern char CursorScaleFactorUnit
[11];
31 extern double PlotGridX
, PlotGridY
, PlotGridXdefault
, PlotGridYdefault
, GridOffset
;
32 extern uint32_t CursorCPos
, CursorDPos
;
33 extern int CommandFinished
;
35 extern bool GridLocked
;
38 #define GRAPH_RESTORE 0
40 #ifndef FILE_PATH_SIZE
41 #define FILE_PATH_SIZE 1000