]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/ui.h
PCF7931: Print found single/consecutive block(s), fixes to block 1 check
[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
17#define MAX_PRINT_BUFFER 2048
18typedef enum logLevel {NORMAL, SUCCESS, INFO, FAILED, WARNING, ERR, DEBUG} logLevel_t;
19
20void ShowGui(void);
21void HideGraphWindow(void);
22void ShowGraphWindow(void);
23void RepaintGraphWindow(void);
24void PrintAndLog(char *fmt, ...);
25void PrintAndLogEx(logLevel_t level, char *fmt, ...);
26void SetLogFilename(char *fn);
27void SetFlushAfterWrite(bool flush_after_write);
28
29extern double CursorScaleFactor;
30extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos, GridOffset;
31extern bool GridLocked;
32extern bool showDemod;
33
34#endif
Impressum, Datenschutz