#pragma once

#include <string>

#include <imgui.h>

namespace game::util::imgui
{
  struct SelectableRenamableResult
  {
    bool selected{};
    bool renamed{};
    bool editing{};
  };

  SelectableRenamableResult selectable_renamable(const char* id, std::string& value, const char* fallback,
                                                 bool selected, ImGuiSelectableFlags flags = 0);
}
