| 38 | } |
| 39 | |
| 40 | GLFWAPI void glfwSetClipboardString(GLFWwindow*, const char* const text) |
| 41 | { |
| 42 | DISTRHO_SAFE_ASSERT_RETURN(text != nullptr,); |
| 43 | |
| 44 | CardinalPluginContext* const context = static_cast<CardinalPluginContext*>(APP); |
| 45 | DISTRHO_SAFE_ASSERT_RETURN(context != nullptr,); |
| 46 | DISTRHO_SAFE_ASSERT_RETURN(context->tlw != nullptr,); |
| 47 | |
| 48 | context->tlw->setClipboard(nullptr, text, std::strlen(text)+1); |
| 49 | } |
| 50 | |
| 51 | GLFWAPI GLFWcursor* glfwCreateStandardCursor(const int shape) |
| 52 | { |
no outgoing calls
no test coverage detected