Implement basic windowing on Mac
This commit is contained in:
15
Source/Engine/Platform/Mac/MacUtils.h
Normal file
15
Source/Engine/Platform/Mac/MacUtils.h
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Engine/Core/Types/String.h"
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
class FLAXENGINE_API MacUtils
|
||||
{
|
||||
public:
|
||||
static String ToString(CFStringRef str);
|
||||
static CFStringRef ToString(const String& str);
|
||||
static Vector2 PosToCoca(const Vector2& pos);
|
||||
static Vector2 GetScreensOrigin();
|
||||
};
|
||||
Reference in New Issue
Block a user