summaryrefslogtreecommitdiff
path: root/multiload/src/global.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-10 15:42:44 +0100
committerVictor Kareh <[email protected]>2020-12-17 07:29:54 -0500
commit858a664996894c3e74586db06afa8f8d1ba0121a (patch)
tree872d62da411f4b4b46abe1f4d1eb585dd870c55b /multiload/src/global.h
parentb3ef7cce4a6390eec5058d2308070fbe072ad8f4 (diff)
downloadmate-applets-858a664996894c3e74586db06afa8f8d1ba0121a.tar.bz2
mate-applets-858a664996894c3e74586db06afa8f8d1ba0121a.tar.xz
multiload: Use one callback for each of the spin buttons
Diffstat (limited to 'multiload/src/global.h')
-rw-r--r--multiload/src/global.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/multiload/src/global.h b/multiload/src/global.h
index 558bcf67..29771369 100644
--- a/multiload/src/global.h
+++ b/multiload/src/global.h
@@ -10,6 +10,9 @@
G_BEGIN_DECLS
+#define KEY_NET_THRESHOLD1 "netthreshold1"
+#define KEY_NET_THRESHOLD2 "netthreshold2"
+#define KEY_NET_THRESHOLD3 "netthreshold3"
#define MIN_NET_THRESHOLD1 10
#define MIN_NET_THRESHOLD2 11
#define MIN_NET_THRESHOLD3 12
@@ -28,6 +31,10 @@ G_BEGIN_DECLS
#define REFRESH_RATE_MIN 50
#define REFRESH_RATE_MAX 60000
+#define GRAPH_SIZE_KEY "size"
+#define GRAPH_SIZE_MIN 10
+#define GRAPH_SIZE_MAX 1000
+
typedef struct _MultiloadApplet MultiloadApplet;
typedef struct _LoadGraph LoadGraph;
typedef void (*LoadGraphDataFunc) (int, int [], LoadGraph *);