]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/proxgui.cpp
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
5 //-----------------------------------------------------------------------------
7 //-----------------------------------------------------------------------------
10 #include "proxguiqt.h"
12 static ProxGuiQT
*gui
= NULL
;
14 extern "C" void ShowGraphWindow(void)
19 gui
->ShowGraphWindow();
22 extern "C" void HideGraphWindow(void)
27 gui
->HideGraphWindow();
30 extern "C" void RepaintGraphWindow(void)
35 gui
->RepaintGraphWindow();
38 extern "C" void MainGraphics(void)
46 extern "C" void InitGraphics(int argc
, char **argv
)
49 bool useGUI
= getenv("DISPLAY") != 0;
56 gui
= new ProxGuiQT(argc
, argv
);
59 extern "C" void ExitGraphics(void)