2010-02-21 08:47:22 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2010-02-26 05:57:35 +08:00
|
|
|
// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
|
|
|
|
//
|
2010-02-21 08:47:22 +08:00
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// GUI functions
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
2009-04-09 14:43:20 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void ShowGraphWindow(void);
|
|
|
|
void HideGraphWindow(void);
|
|
|
|
void RepaintGraphWindow(void);
|
|
|
|
void MainGraphics(void);
|
|
|
|
void InitGraphics(int argc, char **argv);
|
|
|
|
void ExitGraphics(void);
|
|
|
|
|
2016-02-19 03:19:33 +08:00
|
|
|
#define MAX_GRAPH_TRACE_LEN (40000 * 8)
|
2009-04-09 14:43:20 +08:00
|
|
|
extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
|
|
|
|
extern int GraphTraceLen;
|
|
|
|
extern double CursorScaleFactor;
|
2012-01-21 21:32:54 +08:00
|
|
|
extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
|
2009-04-09 14:43:20 +08:00
|
|
|
extern int CommandFinished;
|
2009-04-28 03:56:43 +08:00
|
|
|
extern int offline;
|
2009-04-09 14:43:20 +08:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|