27 lines
538 B
C++
27 lines
538 B
C++
//
|
|
// Created by jedi on 11/1/18.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
namespace micromenu {
|
|
|
|
class Canvas;
|
|
|
|
class Font {
|
|
public:
|
|
typedef const bool raw_font[32][20];
|
|
private:
|
|
raw_font &raw_data_;
|
|
public:
|
|
explicit Font(raw_font &) noexcept;
|
|
|
|
void print(int x, int y, char c, Canvas &, bool inv = false);
|
|
|
|
void print(int x, int y, char *str, Canvas &, bool inv = false);
|
|
|
|
void print(int x, int y, const char *str, Canvas &, bool inv = false);
|
|
};
|
|
|
|
}
|
|
|