implement clipboard on OSX, fix hex and rob sliders on picker

This commit is contained in:
2019-06-25 16:38:05 +02:00
parent da6da775a0
commit 746726e5b3
6 changed files with 26 additions and 8 deletions

View File

@@ -19,6 +19,8 @@ std::string App::clipboard_get_text()
return win32_clipboard_get_text();
#elif __IOS__
return [ios_view clipboard_get_string];
#elif __OSX__
return [osx_view clipboard_get_string];
#endif
}
@@ -28,6 +30,8 @@ bool App::clipboard_set_text(const std::string& s)
return win32_clipboard_set_text(s);
#elif __IOS__
return [ios_view clipboard_set_string:s];
#elif __OSX__
return [osx_view clipboard_set_string:s];
#endif
}