Implement basic windowing on Mac

This commit is contained in:
Wojtek Figat
2021-12-30 13:03:39 +01:00
parent 5a3138fd7b
commit 25cc8c6ab2
4 changed files with 197 additions and 25 deletions

View File

@@ -15,6 +15,7 @@ class MacWindow : public WindowBase
private:
Vector2 _clientSize;
void* _window;
public:
@@ -32,7 +33,11 @@ public:
void Restore() override;
bool IsClosed() const override;
bool IsForegroundWindow() const override;
void BringToFront(bool force) override;
void SetIsFullscreen(bool isFullscreen) override;
void SetOpacity(float opacity) override;
void Focus() override;
void SetTitle(const StringView& title) override;
};
#endif