A conformant backend should return NULL on failure (e.g. clipboard data is not text).
| 5155 | |
| 5156 | // A conformant backend should return NULL on failure (e.g. clipboard data is not text). |
| 5157 | const char* ImGui::GetClipboardText() |
| 5158 | { |
| 5159 | ImGuiContext& g = *GImGui; |
| 5160 | return g.PlatformIO.Platform_GetClipboardTextFn ? g.PlatformIO.Platform_GetClipboardTextFn(&g) : NULL; |
| 5161 | } |
| 5162 | |
| 5163 | void ImGui::SetClipboardText(const char* text) |
| 5164 | { |
nothing calls this directly
no outgoing calls
no test coverage detected