- [NEW] Modul de fonts

This commit is contained in:
2023-10-17 18:48:35 +02:00
parent 11d3309c82
commit c1bbcace85
2 changed files with 87 additions and 0 deletions

28
source/aux_font.h Normal file
View File

@@ -0,0 +1,28 @@
#pragma once
#include <string>
namespace font
{
namespace type
{
const int normal = 0;
const int colored = 1;
const int fade = 2;
}
namespace color
{
const int white = 0;
const int red = 1;
const int green = 2;
const int blue = 3;
}
void init();
void selectFont(const int which);
void setColor(const int color);
void print(const int x, const int y, const std::string text);
void print(const int x, const int y, const int num);
}