void HexEditor(PopupData data) { ImGui.SameLine(ImGui.GetWindowWidth() - 90); if (ImGui.Button("Ok")) { selectedNode.Data = hexdata; ImGui.CloseCurrentPopup(); } ImGui.SameLine(ImGui.GetWindowWidth() - 60); if (ImGui.Button("Cancel")) { ImGui.CloseCurrentPopup(); } ImGui.PushFont(ImGuiHelper.Default); mem.DrawContents(hexdata, hexdata.Length); ImGui.PopFont(); }