#include <stdio.h>\r
#include <math.h>\r
\r
-#include "prox.h"\r
+#include "proxusb.h"\r
+#include "graph.h"\r
+#include "ui.h"\r
+#include "cmdmain.h"\r
\r
#define oops() do { \\r
char line[100]; \\r
return 1;\r
}\r
\r
-void PrintToScrollback(char *fmt, ...)\r
+void PrintAndLog(char *fmt, ...)\r
{\r
va_list f;\r
char str[1024];\r
ResizeCommandWindow();\r
SetFocus(CommandEdit);\r
\r
- PrintToScrollback(">> Started prox, built " __DATE__ " " __TIME__);\r
- PrintToScrollback(">> Connected to device");\r
+ PrintAndLog(">> Started prox, built " __DATE__ " " __TIME__);\r
+ PrintAndLog(">> Connected to device");\r
\r
GreyPenLite = CreatePen(PS_SOLID, 1, RGB(50, 50, 50));\r
GreyPen = CreatePen(PS_SOLID, 1, RGB(100, 100, 100));\r