fixed path to external icons
[shermanaquarium] / sherman-aquarium / shermans / thermometer.h
1 #ifndef THERMOMETER_H
2 #define THERMOMETER_H
3
4 #define STATUS_OFF              0
5 #define STATUS_FAN1             1
6 #define STATUS_FAN2             2
7 #define STATUS_TEMP1            3
8 #define STATUS_TEMP2            4
9 #define STATUS_SWAP             5
10 #define STATUS_DISC             6
11 #define STATUS_CPU              7
12 #define STATUS_MEM              8
13 #define STATUS_NET_ETH0_RECV    9
14 #define STATUS_NET_ETH0_SEND    10
15 #define STATUS_NET_ETH0_BOTH    11
16 #define STATUS_NET_ETH1_RECV    12
17 #define STATUS_NET_ETH1_SEND    13
18 #define STATUS_NET_ETH1_BOTH    14
19 #define STATUS_NET_PPP0_RECV    15
20 #define STATUS_NET_PPP0_SEND    16
21 #define STATUS_NET_PPP0_BOTH    17
22 #define STATUS_NET_LO_RECV      18
23 #define STATUS_NET_LO_SEND      19
24 #define STATUS_NET_LO_BOTH      20
25
26 #define STATUSES 21
27
28 typedef struct
29 {
30     int draw1, draw2;
31     int vert1, horz1;
32     int vert2, horz2;
33     int split1, split2;
34     GaiColor c1, c2;
35     GaiColor c1_s, c2_s;
36     int messure1, messure2;
37     int messure1_s, messure2_s;
38     int roof1, roof2;
39     int roof1_s, roof2_s;
40     char *mount_point1, *mount_point2;
41     char *mount_point1_s, *mount_point2_s;
42     
43
44 } Thermometer_settings;
45
46 void thermometer_init(void);
47 void thermometer_update(int);
48 void thermometer_exit(void);
49 Thermometer_settings *thermometer_get_settings_ptr(void);
50
51 #endif