]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/ui.h
Comms refactor (prerequisite of libproxmark work) (#371)
[proxmark3-svn] / client / ui.h
... / ...
CommitLineData
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#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;
21
22void ShowGui(void);
23void HideGraphWindow(void);
24void ShowGraphWindow(void);
25void RepaintGraphWindow(void);
26void PrintAndLog(char *fmt, ...);
27void SetLogFilename(char *fn);
28
29extern double CursorScaleFactor;
30extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos, GridOffset;
31extern bool flushAfterWrite; //buzzy
32extern bool GridLocked;
33extern bool showDemod;
34
35#endif
Impressum, Datenschutz