This commit is contained in:
Tristan Krause 2019-04-04 13:19:11 +02:00
parent 282a0dbc34
commit 793f8a8370
10 changed files with 320 additions and 102 deletions

18
driver/ui/view_info.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef VIEW_INFO
#define VIEW_INFO
#include "view.h"
class ViewInfo : public View
{
public:
ViewInfo(void);
virtual void draw(void) override;
virtual std::function<void(int)> keypress(int& key) override;
private:
constexpr static int text_offset_x = 2;
constexpr static int text_offset_y = 3;
};
#endif // VIEW_INFO