summary refs log tree commit diff stats
path: root/firmware/src/ui/ui.cpp
blob: af27b3713ad90a20fcf1b7a7d2c161b3226e8b54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "ui/ui.h"
#include "game/game_state.h"

namespace ui {

UI::UI(int8_t tft_cs, int8_t tft_rst, int8_t tft_dc)
    : tft { tft_cs, tft_rst, tft_dc }
{
}

void UI::init()
{
    tft.initR(INITR_BLACKTAB);
}

void UI::render_screen(const game::GameState& state)
{
    // TODO
}

}