mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Add connection status overlay for DXVA2 and SDL
This commit is contained in:
@@ -22,11 +22,13 @@ public:
|
||||
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
|
||||
|
||||
private:
|
||||
void renderOverlay(Overlay::OverlayType type);
|
||||
|
||||
SDL_Renderer* m_Renderer;
|
||||
SDL_Texture* m_Texture;
|
||||
TTF_Font* m_DebugOverlayFont;
|
||||
SDL_Surface* m_DebugOverlaySurface;
|
||||
SDL_Texture* m_DebugOverlayTexture;
|
||||
SDL_Rect m_DebugOverlayRect;
|
||||
TTF_Font* m_OverlayFonts[Overlay::OverlayMax];
|
||||
SDL_Surface* m_OverlaySurfaces[Overlay::OverlayMax];
|
||||
SDL_Texture* m_OverlayTextures[Overlay::OverlayMax];
|
||||
SDL_Rect m_OverlayRects[Overlay::OverlayMax];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user