mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Add FreeType, progress to title screen
This commit is contained in:
21
PortabilityLayer/HostFontHandler.h
Normal file
21
PortabilityLayer/HostFontHandler.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class IOStream;
|
||||
class HostFont;
|
||||
|
||||
class HostFontHandler
|
||||
{
|
||||
public:
|
||||
virtual void Shutdown() = 0;
|
||||
virtual HostFont *LoadFont(IOStream *stream) = 0;
|
||||
|
||||
static void SetInstance(HostFontHandler *instance);
|
||||
static HostFontHandler *GetInstance();
|
||||
|
||||
private:
|
||||
static HostFontHandler *ms_instance;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user