28 lines
571 B
C++
28 lines
571 B
C++
#pragma once
|
|
#include "../Backend/Globalincludes.h"
|
|
#include "../Backend/win32_utils/SysTray.h"
|
|
#include "../Backend/win32_utils/WindowGuard.h"
|
|
#include "../Backend/win32_utils/AutoStart.h"
|
|
|
|
class COverlay
|
|
{
|
|
public:
|
|
static COverlay* Get();
|
|
|
|
bool Initialize();
|
|
void Shutdown();
|
|
void Render();
|
|
|
|
bool IsRunning() const { return m_bRunning; }
|
|
bool IsMenuOpen() const;
|
|
|
|
private:
|
|
COverlay() = default;
|
|
~COverlay() = default;
|
|
|
|
bool m_bRunning = false;
|
|
int m_ScreenWidth = 0;
|
|
int m_ScreenHeight = 0;
|
|
SysTray* m_pTray = nullptr;
|
|
};
|