summaryrefslogtreecommitdiff
path: root/ping_protocol/pinggraph.h
blob: d38f99f42bb609cf1b9ac9462f984ad4272072b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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