mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Font system refactor, use pre-rendered fonts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
enum EGpFontHandlerType
|
||||
{
|
||||
EGpFontHandlerType_None,
|
||||
EGpFontHandlerType_FreeType2,
|
||||
|
||||
EGpFontHandlerType_Count,
|
||||
|
@@ -11,7 +11,6 @@
|
||||
#undef LoadCursor
|
||||
#undef CreateFile
|
||||
|
||||
struct IGpFiber;
|
||||
struct IGpBWCursor_Win32;
|
||||
struct IGpCursor_Win32;
|
||||
struct IGpVOSEventQueue;
|
||||
@@ -29,7 +28,6 @@ struct GpWindowsGlobals
|
||||
HICON m_hIconSm;
|
||||
int m_nCmdShow;
|
||||
|
||||
IGpFiber *(*m_createFiberFunc)(LPVOID fiber);
|
||||
IGpCursor_Win32 *(*m_createColorCursorFunc)(size_t width, size_t height, const void *pixelDataRGBA, size_t hotSpotX, size_t hotSpotY);
|
||||
IGpCursor_Win32 *(*m_createBWCursorFunc)(size_t width, size_t height, const void *pixelData, const void *maskData, size_t hotSpotX, size_t hotSpotY);
|
||||
void (*m_translateWindowsMessageFunc)(const MSG *msg, IGpVOSEventQueue *eventQueue, float pixelScaleX, float pixelScaleY);
|
||||
|
@@ -1,10 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreDefs.h"
|
||||
|
||||
struct IGpFiber
|
||||
{
|
||||
virtual void YieldTo(IGpFiber *toFiber) = 0;
|
||||
virtual void YieldToTerminal(IGpFiber *toFiber) = 0;
|
||||
virtual void Destroy() = 0;
|
||||
};
|
Reference in New Issue
Block a user