Polyphase Game Engine
Loading...
Searching...
No Matches
AutoUpdaterWindow.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef> // for size_t
4
5#if EDITOR
6
10class AutoUpdaterWindow
11{
12public:
16 void Draw();
17
18private:
19 void DrawUpdateAvailable();
20 void DrawDownloading();
21 void DrawDownloadComplete();
22 void DrawUpToDate();
23 void DrawError();
24
25 // Helper to format byte sizes
26 static const char* FormatBytes(size_t bytes, char* buffer, size_t bufferSize);
27};
28
32AutoUpdaterWindow* GetAutoUpdaterWindow();
33
34#endif // EDITOR