mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
26 lines
695 B
C++
26 lines
695 B
C++
#pragma once
|
|
|
|
#include "HostDisplayDriver.h"
|
|
|
|
struct IGpDisplayDriver;
|
|
|
|
class GpPLGlueDisplayDriver final : public PortabilityLayer::HostDisplayDriver
|
|
{
|
|
public:
|
|
GpPLGlueDisplayDriver();
|
|
|
|
void GetDisplayResolution(unsigned int *width, unsigned int *height, GpPixelFormat_t *bpp) override;
|
|
IGpColorCursor *LoadColorCursor(int id) override;
|
|
void SetColorCursor(IGpColorCursor *colorCursor) override;
|
|
void SetStandardCursor(EGpStandardCursor_t standardCursor) override;
|
|
|
|
void SetGpDisplayDriver(IGpDisplayDriver *displayDriver);
|
|
|
|
static GpPLGlueDisplayDriver *GetInstance();
|
|
|
|
private:
|
|
IGpDisplayDriver *m_displayDriver;
|
|
|
|
static GpPLGlueDisplayDriver ms_instance;
|
|
};
|