summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-10 00:02:55 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-10 00:04:44 +0500
commit55ef21312888cbfb9d449eee8f7958b74f85ac7c (patch)
treeba819c6f1bc03c711e8cf1ad069be30a95e9f4f6 /src/resources
parent90988da0bdae2c56366abb01f402a0cd34279143 (diff)
more work on an editor
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resources.c5
-rw-r--r--src/resources/resources.h1
2 files changed, 5 insertions, 1 deletions
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 <raylib.h>
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