summary refs log tree commit diff stats
path: root/firmware/src/ui/ui.cpp
blob: ce026e1a62f7e6effb0c267a93f49389c4c14d7c (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_dc, int8_t tft_rst)
    : tft { tft_cs, tft_dc, tft_rst }
{
}

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

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

}