diff options
Diffstat (limited to 'ping_protocol/pinggraph.h')
-rw-r--r-- | ping_protocol/pinggraph.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ping_protocol/pinggraph.h b/ping_protocol/pinggraph.h new file mode 100644 index 0000000..d38f99f --- /dev/null +++ b/ping_protocol/pinggraph.h @@ -0,0 +1,21 @@ +#ifndef _PINGGRAPH_H
+#define _PINGGRAPH_H
+
+#include "common.h"
+#include "pinglist.h"
+#include "pingthread.h"
+
+#define MIN_GRAPH_HEIGHT 120 // minimum braph height, ms
+#define MIN_BARS 20 // space for at least this many bars
+#define MARK_PERIOD 3600 // vertical lines every this many secs (3600 == 1 hour)
+#define MARK_TIME 100 // horizontal lines every this many ms
+
+int ShowGraph(WPARAM wParam, LPARAM lParam);
+
+// save window positions, close windows
+void graphs_cleanup();
+
+// restore windows that were open when cleanup was called last?
+void graphs_init();
+
+#endif
|