Skip to content

Commit

Permalink
update imgui code
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Feb 1, 2024
1 parent b9f1550 commit 17e3423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void renderEditText() {

ImGui.SetNextWindowSize(ImVec2.TMP_1.set(600, 500), ImGuiCond.ImGuiCond_Once);
ImGui.Begin("Editor");
String text = "\t" + (coordinates.get_mLine() + 1) + "/" + (coordinates.get_mColumn() + 1) + " " + editor.GetTotalLines() + " lines | " + (editor.IsOverwrite() ? "Ovr" : "Ins") + " | " + (editor.CanUndo() ? "*" : " ") + " | " + editor.GetLanguageDefinition().get_mName().c_str();
String text = "\t" + (coordinates.mLine() + 1) + "/" + (coordinates.mColumn() + 1) + " " + editor.GetTotalLines() + " lines | " + (editor.IsOverwrite() ? "Ovr" : "Ins") + " | " + (editor.CanUndo() ? "*" : " ") + " | " + editor.GetLanguageDefinition().mName().c_str();
if(ImGui.Button("Build")) {
String scriptText = editor.GetText().c_str();
buildScript(scriptText);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void show() {
}

ImGuiIO io = ImGui.GetIO();
io.set_ConfigFlags(ImGuiConfigFlags.ImGuiConfigFlags_DockingEnable);
io.ConfigFlags(ImGuiConfigFlags.ImGuiConfigFlags_DockingEnable);

input = new ImGuiGdxInputMultiplexer();
impl = new ImGuiGdxImpl();
Expand Down

0 comments on commit 17e3423

Please sign in to comment.