enable fonts to be loaded when windows has been installed other than default location

This commit is contained in:
jettis
2024-12-06 13:03:57 +02:00
parent 38931cf65e
commit ca423994ea
7 changed files with 29 additions and 14 deletions

View File

@@ -1,3 +1,5 @@
#include "../SDLHelpers.h"
#include <string>
using namespace std;
@@ -5,8 +7,6 @@ using namespace std;
#include <SDL3/SDL.h>
#include <SDL3_ttf/SDL_ttf.h>
#include "../SDLHelpers.h"
#include "Listbox.h"
Listbox::Listbox(vector<string> list, int item_size, SDL_Rect pos) : Item(pos) {