stub out linux demon; linux font provider; begin work, get windows/events up and running in os_gfx

This commit is contained in:
Ryan Fleury
2024-07-18 13:37:22 -07:00
parent ec9c68f55e
commit 4835264059
17 changed files with 999 additions and 481 deletions
+9 -2
View File
@@ -8,12 +8,17 @@
//~ rjf: Backend Constants
#define FP_BACKEND_DWRITE 1
#define FP_BACKEND_FREETYPE 2
////////////////////////////////
//~ rjf: Decide On Backend
#if !defined(FP_BACKEND) && OS_WINDOWS
# define FP_BACKEND FP_BACKEND_DWRITE
#if !defined(FP_BACKEND)
# if OS_WINDOWS
# define FP_BACKEND FP_BACKEND_DWRITE
# elif OS_LINUX
# define FP_BACKEND FP_BACKEND_FREETYPE
# endif
#endif
////////////////////////////////
@@ -26,6 +31,8 @@
#if FP_BACKEND == FP_BACKEND_DWRITE
# include "dwrite/font_provider_dwrite.h"
#elif FP_BACKEND == FP_BACKEND_FREETYPE
# include "freetype/font_provider_freetype.h"
#else
# error Font provider backend not specified.
#endif
@@ -0,0 +1,2 @@
// Copyright (c) 2024 Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
@@ -0,0 +1,7 @@
// Copyright (c) 2024 Epic Games Tools
// Licensed under the MIT license (https://opensource.org/license/mit/)
#ifndef FONT_PROVIDER_FREETYPE_H
#define FONT_PROVIDER_FREETYPE_H
#endif // FONT_PROVIDER_FREETYPE_H