diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-28 18:44:28 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-11-28 18:44:28 +0000 |
commit | 68fb5b69ea8403a3f9dcb70b3133eb10e1711000 (patch) | |
tree | c4e4e81724c9ea80fe7f2558991bda699961bc11 /plugins/Ping/src/pinggraph.h | |
parent | 80d65efb84ec7500cd02ca047d0177d642eb1871 (diff) |
forgotten files
git-svn-id: http://svn.miranda-ng.org/main/trunk@2544 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Ping/src/pinggraph.h')
-rw-r--r-- | plugins/Ping/src/pinggraph.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/Ping/src/pinggraph.h b/plugins/Ping/src/pinggraph.h new file mode 100644 index 0000000000..268b376a58 --- /dev/null +++ b/plugins/Ping/src/pinggraph.h @@ -0,0 +1,22 @@ +#ifndef _PINGGRAPH_H
+#define _PINGGRAPH_H
+
+#include "pinglist.h"
+#include "pingthread.h"
+
+#define MIN_GRAPH_HEIGHT 10 // 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_PTR 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();
+
+extern HistoryMap history_map;
+
+#endif
|