summaryrefslogtreecommitdiffstats
path: root/apps/tests/main.hpp
blob: 394a0cd9879cdad8812bf3acd1bfb32544db15b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

// Includes also buttons, API and ss_oled
#include "../../app/base_app.hpp"

class app_tests : public BaseApp {
    private:
        int m_current_screen = 0;
        AppAttributes app_attributes = {3, true};
    public:
        const AppAttributes& app_get_attributes() {
            return app_attributes;
        }

        app_tests(Api *app_api);
        AppReturnValues render(Api *app_api);
        AppReturnValues btn_pressed(Api *app_api, uint gpio, unsigned long delta);
        AppReturnValues bgrefresh(Api *app_api, bool in_foreground);
        ~app_tests();
};