Major update - IMGUI Change

New ImGui version : Branch Doking
This commit is contained in:
2025-01-16 17:31:13 +01:00
parent 39fa32603f
commit b029018552
12 changed files with 13956 additions and 12258 deletions

View File

@@ -179,7 +179,8 @@ void imguiManager::WidgetObjectWindow(ApplicationClass* app)
ImGui::Text(textureCategories[count].c_str());
ImGui::SameLine();
if (ImGui::ImageButton((ImTextureID)texture, ImVec2(64, 64)))
std::string buttonLabel = "button " + std::to_string(count);
if (ImGui::ImageButton(buttonLabel.c_str(), (ImTextureID)texture, ImVec2(64, 64)))
{
// Open file dialog
OPENFILENAME ofn;