ferroui-native 0.3.0

The macOS platform of FerroUI: windows, input, clipboard, drag and drop, menus and Metal and OpenGL graphics over a native library
Documentation
#ifndef cursor_h
#define cursor_h

#include "common.h"
#include <map>

class Cursor : public ComSingleObject<IFrnCursor, &IID_IFrnCursor>
{
private:
    NSCursor * _native;
    bool _isHidden;
public:
    FORWARD_IUNKNOWN()
    Cursor(NSCursor * cursor, bool isHidden = false)
    {
        _native = cursor;
        _isHidden = isHidden;
    }

    NSCursor* GetNative()
    {
        return _native;
    }
    
    bool IsHidden ()
    {
        return _isHidden;
    }
};

#endif /* cursor_h */