summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/demos/hello_there_face.h
diff options
context:
space:
mode:
Diffstat (limited to 'movement/watch_faces/demos/hello_there_face.h')
-rw-r--r--movement/watch_faces/demos/hello_there_face.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/movement/watch_faces/demos/hello_there_face.h b/movement/watch_faces/demos/hello_there_face.h
new file mode 100644
index 00000000..0174b6f0
--- /dev/null
+++ b/movement/watch_faces/demos/hello_there_face.h
@@ -0,0 +1,24 @@
+#ifndef HELLO_THERE_FACE_H_
+#define HELLO_THERE_FACE_H_
+
+#include "movement.h"
+
+typedef struct {
+ uint8_t current_word;
+ bool animating;
+} hello_there_state_t;
+
+void hello_there_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr);
+void hello_there_face_activate(movement_settings_t *settings, void *context);
+bool hello_there_face_loop(movement_event_t event, movement_settings_t *settings, void *context);
+void hello_there_face_resign(movement_settings_t *settings, void *context);
+
+static const watch_face_t hello_there_face = {
+ hello_there_face_setup,
+ hello_there_face_activate,
+ hello_there_face_loop,
+ hello_there_face_resign,
+ NULL
+};
+
+#endif // HELLO_THERE_FACE_H_