aboutsummaryrefslogtreecommitdiffstats
path: root/apps/home_menu.h
blob: 507e8182c314d4bb127777a570306007619b6e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __HOME_MENU_H__
#define __HOME_MENU_H__

#include "pico/util/datetime.h"
#include "../oled/ss_oled.h"

void show_title(SSOLED *oled);

int home_menu_init(SSOLED *oled, char *data, uint data_size);
int home_menu_render(SSOLED *oled, char *data, uint data_size);
int home_menu_btnpressed(SSOLED *oled, char *data, uint data_size, uint gpio);
int home_menu_bgrefresh(SSOLED *oled, char *data, uint data_size, char in_foreground);
int home_menu_destroy(SSOLED *oled, char *data, uint data_size);

#endif