summaryrefslogtreecommitdiffstats
path: root/layout.h
blob: f1122c4a0739f8275118d4b8f69a7b9ff6756699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 *  Top - a top users display for Unix
 *
 *  This file defines the default locations on the screen for various parts
 *  of the display.  These definitions are used by the routines in "display.c"
 *  for cursor addressing.
 */

#define  X_LASTPID	10
#define  Y_LASTPID	0
#define  X_LASTPIDWIDTH 13
#define  X_LOADAVE	27
#define  Y_LOADAVE	0
#define  X_LOADAVEWIDTH 7
#define  X_MINIBAR      50
#define  Y_MINIBAR      0
#define  X_UPTIME       53
#define  Y_UPTIME       0
#define  X_PROCSTATE	15
#define  Y_PROCSTATE	1
#define  X_BRKDN	15
#define  Y_BRKDN	1
#define  X_CPUSTATES	0
#define  Y_CPUSTATES	2
#define  X_MEM		8
#define  Y_MEM		3
#define  X_SWAP		6
#define  Y_SWAP		4
#define  Y_MESSAGE	4
#define  X_HEADER	0
#define  Y_HEADER	5
#define  X_IDLECURSOR	0
#define  Y_IDLECURSOR	4
#define  Y_PROCS	6