]> git.zerfleddert.de Git - proxmark3-svn/blame - client/ui.h
Comms refactor (prerequisite of libproxmark work) (#371)
[proxmark3-svn] / client / ui.h
CommitLineData
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__
13
0f321d63 14#include <stdbool.h>
1a3c0064 15#include <stdint.h>
afdcb8c1
MF
16#include <pthread.h>
17
18// a global mutex to prevent interlaced printing from different threads
19pthread_mutex_t print_lock;
20extern uint8_t g_debugMode;
0f321d63 21
7fe9b0b7 22void ShowGui(void);
23void HideGraphWindow(void);
24void ShowGraphWindow(void);
25void RepaintGraphWindow(void);
26void PrintAndLog(char *fmt, ...);
27void SetLogFilename(char *fn);
28
29extern double CursorScaleFactor;
0f321d63 30extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos, GridOffset;
afdcb8c1 31extern bool flushAfterWrite; //buzzy
0f321d63 32extern bool GridLocked;
b8fdac9e 33extern bool showDemod;
7fe9b0b7 34
35#endif
Impressum, Datenschutz