aboutsummaryrefslogtreecommitdiffstats
path: root/apps/home_menu.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/home_menu.hpp')
-rw-r--r--apps/home_menu.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/home_menu.hpp b/apps/home_menu.hpp
new file mode 100644
index 0000000..bd648d3
--- /dev/null
+++ b/apps/home_menu.hpp
@@ -0,0 +1,15 @@
+#ifndef __HOME_MENU_H__
+#define __HOME_MENU_H__
+
+#include "pico/util/datetime.h"
+#include "../oled/ss_oled.h"
+
+namespace app_home_menu {
+ int init(SSOLED *oled, char *data, uint data_size);
+ int render(SSOLED *oled, char *data, uint data_size);
+ int btnpressed(SSOLED *oled, char *data, uint data_size, uint gpio);
+ int bgrefresh(SSOLED *oled, char *data, uint data_size, char in_foreground);
+ int destroy(SSOLED *oled, char *data, uint data_size);
+}
+
+#endif