]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/proxgui.cpp
12faab79cd3d7eb002d50b2dd53b06ce34989913
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
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
7 //-----------------------------------------------------------------------------
9 //-----------------------------------------------------------------------------
12 #include "proxguiqt.h"
14 static ProxGuiQT
*gui
= NULL
;
16 extern "C" void ShowGraphWindow(void)
21 gui
->ShowGraphWindow();
24 extern "C" void HideGraphWindow(void)
29 gui
->HideGraphWindow();
32 extern "C" void RepaintGraphWindow(void)
37 gui
->RepaintGraphWindow();
40 extern "C" void MainGraphics(void)
48 extern "C" void InitGraphics(int argc
, char **argv
)
51 bool useGUI
= getenv("DISPLAY") != 0;
58 gui
= new ProxGuiQT(argc
, argv
);
61 extern "C" void ExitGraphics(void)