]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Copyright (C) 2010 iZsh <izsh at fail0verflow.com> | |
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 | // UI utilities | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
11 | #ifndef UI_H__ | |
12 | #define UI_H__ | |
13 | ||
14 | #include <stdbool.h> | |
15 | #include <stdint.h> | |
16 | ||
17 | void ShowGui(void); | |
18 | void HideGraphWindow(void); | |
19 | void ShowGraphWindow(void); | |
20 | void RepaintGraphWindow(void); | |
21 | void PrintAndLog(char *fmt, ...); | |
22 | void SetLogFilename(char *fn); | |
23 | void SetFlushAfterWrite(bool flush_after_write); | |
24 | ||
25 | extern double CursorScaleFactor; | |
26 | extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos, GridOffset; | |
27 | extern bool GridLocked; | |
28 | extern bool showDemod; | |
29 | ||
30 | #endif |