// // Created by jedi on 11/1/18. // #ifndef MGL_DMXMENU_CANVAS_H #define MGL_DMXMENU_CANVAS_H #include "hal.h" #include "gfx/font.h" #include "fonts/basic_5x4.h" class canvas { private: const int width_; const int height_; public: canvas(int w, int h); void draw(int x, int y); void print(int x, int y, const char *str, font& = basic_5x4); void print(int x, int y, char *str, font& = basic_5x4); }; #endif //MGL_DMXMENU_CANVAS_H