Add drag&drop support to macOS

This commit is contained in:
Wojtek Figat
2023-10-21 15:36:38 +02:00
parent dcbc917b7d
commit 21f2e59d12
2 changed files with 107 additions and 4 deletions

View File

@@ -14,8 +14,10 @@ class FLAXENGINE_API MacWindow : public WindowBase
{
private:
void* _window;
void* _window = nullptr;
void* _view = nullptr;
bool _isMouseOver = false;
String _dragText;
public:
@@ -24,6 +26,10 @@ public:
void CheckForResize(float width, float height);
void SetIsMouseOver(bool value);
const String& GetDragText() const
{
return _dragText;
}
public: