22 lines
418 B
C++
22 lines
418 B
C++
//
|
|
// Created by jedi on 11/1/18.
|
|
//
|
|
|
|
#ifndef MGL_DMXMENU_FONT_H
|
|
#define MGL_DMXMENU_FONT_H
|
|
|
|
class canvas;
|
|
|
|
class font {
|
|
public:
|
|
typedef const bool raw_font[32][20];
|
|
private:
|
|
raw_font& raw_data_;
|
|
public:
|
|
font(raw_font&);
|
|
void print(int x, int y, char c, canvas&);
|
|
void print(int x, int y, char* str, canvas&);
|
|
void print(int x, int y, const char* str, canvas&);
|
|
};
|
|
|
|
#endif //MGL_DMXMENU_FONT_H
|