aboutsummaryrefslogtreecommitdiff
path: root/ui.h
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2021-02-27 23:25:04 +1300
committerDavid Phillips <david@yeah.nah.nz>2021-02-27 23:25:54 +1300
commit64a168c77568f8886662b535515ff25d056042e9 (patch)
treead0044e2c51d794b7affb4b2386afb2ed7c45b7a /ui.h
parent4118386ca9a4cb717f0d79f636586f0151d3e985 (diff)
downloadaltimeter-64a168c77568f8886662b535515ff25d056042e9.tar.xz
Re-add basic display-only logic
This module will be extended later with input and UI/menu logic
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ui.h b/ui.h
new file mode 100644
index 0000000..c51c261
--- /dev/null
+++ b/ui.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "data_manager.h"
+
+struct ui_ctx {
+ struct display *display;
+};
+
+void ui_init(struct ui_ctx*, struct display *);
+void ui_update(struct ui_ctx*, struct data_ctx*);