summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
committerSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
commitd9b456d738e5013d48f41f5e6315ef7c22d6acf0 (patch)
tree2e3722f5697cbf883c4b16edc87726b9e510bce1 /src/text.h
Initial commit
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
new file mode 100644
index 0000000..752d15f
--- /dev/null
+++ b/src/text.h
@@ -0,0 +1,21 @@
+#ifndef _DWXINFO_TEXT_H_
+#define _DWXINFO_TEXT_H_
+
+#include <stdio.h>
+
+#define TEXT_SIZE 512
+
+struct text {
+ char value[TEXT_SIZE];
+
+ struct battery * battery;
+ struct pulse * pulse;
+ struct time * time;
+};
+
+struct text * text_new();
+void text_free(struct text *);
+
+void text_update(struct text *);
+
+#endif