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