Center windows when over max resolution

This commit is contained in:
elasota
2020-04-05 02:15:49 -04:00
parent 643bc7b761
commit 1269294d28
4 changed files with 37 additions and 7 deletions

View File

@@ -46,6 +46,8 @@ public:
void UpdatePalette(const void *paletteData) override;
void SetBackgroundColor(uint8_t r, uint8_t g, uint8_t b, uint8_t a) override;
static GpDisplayDriverD3D11 *Create(const GpDisplayDriverProperties &properties);
private:
@@ -125,4 +127,6 @@ private:
HCURSOR m_waitCursor;
HCURSOR m_ibeamCursor;
HWND m_hwnd;
float m_bgColor[4];
};