font_loader.h again lol

This commit is contained in:
scawful
2024-08-07 15:27:41 -04:00
parent 47461a567d
commit d4b559af32
2 changed files with 2 additions and 25 deletions

View File

@@ -1,10 +1,10 @@
#include "app/core/platform/font_loader.h"
#include "imgui/imgui.h"
#include <string>
#include <vector>
#include "imgui/imgui.h"
#ifdef _WIN32
#include <Windows.h>

View File

@@ -2,29 +2,6 @@
#ifndef FONTLOADER_H
#define FONTLOADER_H
#ifdef _WIN32
#include <Windows.h>
// Windows specific function declaration for loading system fonts into ImGui
int CALLBACK EnumFontFamExProc(const LOGFONT* lpelfe, const TEXTMETRIC* lpntme,
DWORD FontType, LPARAM lParam);
#elif __APPLE__
#include "TargetConditionals.h"
#if TARGET_OS_MAC == 1
void LoadSystemFonts();
#elif TARGET_OS_IPHONE == 1
void LoadSystemFonts();
#endif
#elif __linux__
// TODO: Implement Linux specific function declaration for loading system fonts
#endif
#endif // FONTLOADER_H