[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:
1 parent
767b107a7b
commit
b07160da15
3 files changed
+47
-6
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user