diff options
| author | Sam Light <sam@lightscale.co.uk> | 2025-09-10 19:37:28 +0100 |
|---|---|---|
| committer | Sam Light <sam@lightscale.co.uk> | 2025-09-10 19:37:28 +0100 |
| commit | d9b456d738e5013d48f41f5e6315ef7c22d6acf0 (patch) | |
| tree | 2e3722f5697cbf883c4b16edc87726b9e510bce1 /src/text.h | |
Initial commit
Diffstat (limited to 'src/text.h')
| -rw-r--r-- | src/text.h | 21 |
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 |
