Copy image to clipboard for GraphicsEditor
This commit is contained in:
10
src/app/core/platform/clipboard.h
Normal file
10
src/app/core/platform/clipboard.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifdef _WIN32
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
|
||||
#include <vector>
|
||||
|
||||
void CopyImageToClipboard(const std::vector<uint8_t>& data);
|
||||
void GetImageFromClipboard(std::vector<uint8_t>& data, int& width, int& height);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user