mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 05:19:41 -07:00
stub out linux demon; linux font provider; begin work, get windows/events up and running in os_gfx
This commit is contained in:
1 parent
ec9c68f55e
commit
4835264059
17 files changed
+999
-481
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user