]>
Commit | Line | Data |
---|---|---|
a553f267 | 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 | ||
7fe9b0b7 | 11 | #ifndef UI_H__ |
12 | #define UI_H__ | |
45293f10 | 13 | #define _USE_MATH_DEFINES |
14 | #include <stdarg.h> | |
15 | #include <stdlib.h> | |
16 | #include <stdio.h> | |
17 | #include <stdbool.h> | |
18 | #include <time.h> | |
19 | #include <readline/readline.h> | |
20 | #include <pthread.h> | |
7bd30f12 | 21 | #include <math.h> |
22 | #include <complex.h> | |
45293f10 | 23 | #include "loclass/cipherutils.h" |
f38a1528 | 24 | #include "util.h" |
45293f10 | 25 | #include "cmdmain.h" |
26 | #include "cmddata.h" | |
f38a1528 | 27 | |
45293f10 | 28 | #ifndef M_PI |
29 | #define M_PI 3.14159265358979323846264338327 | |
30 | #endif | |
7fe9b0b7 | 31 | void ShowGui(void); |
32 | void HideGraphWindow(void); | |
33 | void ShowGraphWindow(void); | |
34 | void RepaintGraphWindow(void); | |
35 | void PrintAndLog(char *fmt, ...); | |
36 | void SetLogFilename(char *fn); | |
37 | ||
38 | extern double CursorScaleFactor; | |
7ddb9900 | 39 | extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault; |
7fe9b0b7 | 40 | extern int offline; |
ed77aabe | 41 | extern int flushAfterWrite; //buzzy |
7fe9b0b7 | 42 | |
7bd30f12 | 43 | void iceFsk3(int * data, const size_t len); |
7fe9b0b7 | 44 | #endif |