[API] Extend ImString to accept more objects to set string from

Also make getBytes method to use UTF-8 charset
This commit is contained in:
SpaiR committed 2021-02-27 16:15:54 +02:00
1 parent 767b107a7b
commit b07160da15
3 files changed
+47 -6

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ public class Main extends Application {
ImGui.sameLine();
ImGui.text(String.valueOf(count));
ImGui.inputText("string", str, ImGuiInputTextFlags.CallbackResize);
ImGui.text("Result: " + str.get());
ImGui.sliderFloat("float", flt, 0, 1);
ImGui.separator();
ImGui.text("Extra");