enable fonts to be loaded when windows has been installed other than default location
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
@@ -5,8 +7,6 @@ using namespace std;
|
||||
|
||||
#include <SDL3_ttf/SDL_ttf.h>
|
||||
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include "Button.h"
|
||||
|
||||
Button::Button(string text, SDL_Color color, SDL_Rect pos) : Item(pos) {
|
||||
|
||||
@@ -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 "Checkbox.h"
|
||||
|
||||
bool isBetween(float a, float b, float c) {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
@@ -6,8 +8,6 @@ using namespace std;
|
||||
#include <SDL3_image/SDL_image.h>
|
||||
#include <SDL3_ttf/SDL_ttf.h>
|
||||
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include "Item.h"
|
||||
#include "Scrollbar.h"
|
||||
#include "Listbox.h"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
@@ -12,12 +14,9 @@ using namespace std;
|
||||
#include <SDL3_ttf/SDL_ttf.h>
|
||||
#include <SDL3/SDL_storage.h>
|
||||
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include "Item.h"
|
||||
#include "Button.h"
|
||||
#include "Dialog.h"
|
||||
#include "Frame.h"
|
||||
|
||||
#include "DlgMainMenu.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
@@ -6,8 +8,6 @@ using namespace std;
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3_ttf/SDL_ttf.h>
|
||||
|
||||
#include "../SDLHelpers.h"
|
||||
|
||||
#include "DropDownList.h"
|
||||
#include "DlgDropDownList.h"
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user