X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a99c6a1921015cf26c91f6b09f53c4906006b876..4cd41f34ead6351f3b0a897453b25c036021c53f:/client/wingui.c diff --git a/client/wingui.c b/client/wingui.c index 3753a86e..9fcf5ea6 100644 --- a/client/wingui.c +++ b/client/wingui.c @@ -11,7 +11,10 @@ #include #include -#include "prox.h" +#include "proxusb.h" +#include "graph.h" +#include "ui.h" +#include "cmdmain.h" #define oops() do { \ char line[100]; \ @@ -352,7 +355,7 @@ nopaint: return 1; } -void PrintToScrollback(char *fmt, ...) +void PrintAndLog(char *fmt, ...) { va_list f; char str[1024]; @@ -448,8 +451,8 @@ void ShowGui() ResizeCommandWindow(); SetFocus(CommandEdit); - PrintToScrollback(">> Started prox, built " __DATE__ " " __TIME__); - PrintToScrollback(">> Connected to device"); + PrintAndLog(">> Started prox, built " __DATE__ " " __TIME__); + PrintAndLog(">> Connected to device"); GreyPenLite = CreatePen(PS_SOLID, 1, RGB(50, 50, 50)); GreyPen = CreatePen(PS_SOLID, 1, RGB(100, 100, 100));