32 lines
428 B
C++
32 lines
428 B
C++
//
|
|
// 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
|