textual
[RRG-proxmark3.git] / client / src / proxgui.h
blob887a0e36d1fedd9879d288bbd5ae0a5b58bde14b
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 //-----------------------------------------------------------------------------
11 #ifndef __PROXGUI_H
12 #define __PROXGUI_H
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
18 #include <stdint.h>
19 #include <stddef.h>
20 #include <stdbool.h>
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;
34 extern int offline;
35 extern bool GridLocked;
37 #define GRAPH_SAVE 1
38 #define GRAPH_RESTORE 0
40 #ifndef FILE_PATH_SIZE
41 #define FILE_PATH_SIZE 1000
42 #endif
44 #ifdef __cplusplus
46 #endif
47 #endif