mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-16 16:27:59 +00:00
26 lines
491 B
C++
26 lines
491 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
class OverlayManager
|
|
{
|
|
public:
|
|
enum OverlayType {
|
|
OverlayDebug,
|
|
OverlayMinorNotification,
|
|
OverlayMajorNotification,
|
|
OverlayMax
|
|
};
|
|
|
|
OverlayManager();
|
|
|
|
bool isOverlayEnabled(OverlayType type);
|
|
char* getOverlayText(OverlayType type);
|
|
void setOverlayState(OverlayType type, bool enabled);
|
|
|
|
struct {
|
|
bool enabled;
|
|
int updateSeq;
|
|
char text[512];
|
|
} m_Overlays[OverlayMax];
|
|
};
|