From 55ef21312888cbfb9d449eee8f7958b74f85ac7c Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Fri, 10 Jul 2026 00:02:55 +0500 Subject: more work on an editor --- src/resources/resources.c | 5 ++++- src/resources/resources.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/resources') diff --git a/src/resources/resources.c b/src/resources/resources.c index b8a292e..e82b6e0 100644 --- a/src/resources/resources.c +++ b/src/resources/resources.c @@ -3,12 +3,15 @@ #include Font MainFont; +Font MonoFont; void LoadResources() { - MainFont = LoadFontEx("assets/coolvetica.ttf", 100, NULL, 0); + MainFont = LoadFontEx("assets/fonts/coolvetica.ttf", 100, NULL, 0); + MonoFont = LoadFontEx("assets/fonts/monofont.ttf", 100, NULL, 0); } Font *GetMainFont() { return &MainFont; } +Font *GetMonoFont() { return &MonoFont; } void DrawStripe(int start_step, int end_step, Color color) { int height = GetScreenHeight(); diff --git a/src/resources/resources.h b/src/resources/resources.h index c53da99..e6efc25 100644 --- a/src/resources/resources.h +++ b/src/resources/resources.h @@ -18,5 +18,6 @@ static const Color COLORSCHEME_WHITE = { 233, 225, 185, 255 }; void LoadResources(); Font *GetMainFont(); +Font *GetMonoFont(); #endif // RESOURCES_H -- cgit v1.3