Add clipboard methods
This commit is contained in:
1 parent
cd0d0f7bc5
commit
295471930f
2 files changed
+12
-3
No files matched your search
@@ -317,9 +317,8 @@ public final class ImGuiGlfwExample {
|
||||
ImGui.SetMouseCursor(ImGuiMouseCursor.TextInput);
|
||||
}
|
||||
ImGui.SameLine();
|
||||
ImGui.Text("(?)");
|
||||
if (ImGui.IsItemHovered()) {
|
||||
ImGui.SetTooltip("You can copy and paste this link to browser");
|
||||
if (ImGui.Button("Copy")) {
|
||||
ImGui.SetClipboardText(imguiDemoLink.get());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user