aboutsummaryrefslogtreecommitdiffstats
path: root/apps/home_menu.hpp
blob: bd648d3ab3a9ff3bee78f4115677131111d51338 (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"

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