add GetID override using std::string

This commit is contained in:
scawful
2024-07-13 10:22:25 -04:00
parent 7b23a35852
commit 8fa989a82d
2 changed files with 4 additions and 0 deletions

View File

@@ -226,6 +226,8 @@ bool ListBox(const char* label, int* current_item,
height_in_items);
}
ImGuiID GetID(const std::string& id) { return ImGui::GetID(id.c_str()); }
} // namespace gui
} // namespace app
} // namespace yaze