Major update - IMGUI Change
New ImGui version : Branch Doking
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user