diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-07-10 00:02:55 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-07-10 00:04:44 +0500 |
| commit | 55ef21312888cbfb9d449eee8f7958b74f85ac7c (patch) | |
| tree | ba819c6f1bc03c711e8cf1ad069be30a95e9f4f6 /src/resources/resources.c | |
| parent | 90988da0bdae2c56366abb01f402a0cd34279143 (diff) | |
more work on an editor
Diffstat (limited to 'src/resources/resources.c')
| -rw-r--r-- | src/resources/resources.c | 5 |
1 files changed, 4 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(); |
