add 5x4 Font

This commit is contained in:
j3d1 2018-11-01 19:39:19 +01:00
parent 987aa92a23
commit 1009d689bc
15 changed files with 346 additions and 25 deletions

32
inc/gfx/screen.h Normal file
View file

@ -0,0 +1,32 @@
//
// Created by jedi on 11/1/18.
//
#ifndef MGL_DMXMENU_SCREEN_H
#define MGL_DMXMENU_SCREEN_H
#include "hal.h"
//template <int WIDTH, int HEIGHT>
class screen {
private:
const int width_;
const int height_;
public:
screen(int w, int h): width_(w), height_(h){
}
void draw(int x, int y){
hal_draw(x,y);
}
void print(int x, int y, char* str){
}
};
#endif //MGL_DMXMENU_SCREEN_H