26 lines
372 B
C
26 lines
372 B
C
|
#include <utility>
|
||
|
|
||
|
#ifndef LIBRARY_FONT_H
|
||
|
#define LIBRARY_FONT_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
class FontType {
|
||
|
private:
|
||
|
std::string name;
|
||
|
int height;
|
||
|
int width;
|
||
|
|
||
|
public:
|
||
|
FontType(std::string name, int height, int width);
|
||
|
std::string getName();
|
||
|
int getHeight();
|
||
|
int getWidth();
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
const static FontType font_1 = FontType("DummyFont", 10, 5);
|
||
|
|
||
|
#endif
|