Initial commit

This is working repository now. I had to clean this up due to
my f_ups, that made this simple repo around 200MB large.

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This commit is contained in:
Piotr Krygier
2022-06-28 09:54:41 +02:00
committed by Piotr Krygier
commit 493afb05e6
56 changed files with 5574 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
/**
* @file font_manager.h
* @author Piotr Krygier (piotrkrygier@everyonencancode.xyz)
* @brief Font manager. Load fonts from file and render it on the scene
* @version 0.1
* @date 2025-10-08
*
* @copyright Copyright (c) 2025
*
*/
#ifndef FONT_MANAGER_H
#define FONT_MANAGER_H
#include "utilities/commons.h"
#include "graphics_context.h"
rse_err_t fonts_init(void);
rse_err_t fonts_load_from_file(struct graphics_context_t* context, const char* file_path, uint32_t* font_id);
rse_err_t fonts_set_font_size(struct graphics_context_t* context, const uint32_t font_id, const uint32_t font_size);
rse_err_t print_debug_text(struct graphics_context_t* context, uint32_t font_id, char *text);
#endif /* FONT_MANAGER_H */