-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
hey @eduardfrigola ,
I tried to include the helpers from ofxImGui to allow add parameters easy...
I added this files:
Helpers.h, Helpers.cpp, (maybe this one could help too: `imconfig.h)
But I am stuck when tried to tweak this method of Helpers.cpp:
//--------------------------------------------------------------
const char * ofxImGui::GetUniqueName(const std::string& candidate)
{
std::string result = candidate;
while (std::find(windowOpen.usedNames.top().begin(), windowOpen.usedNames.top().end(), result) != windowOpen.usedNames.top().end())
{
result += " ";
}
windowOpen.usedNames.top().push_back(result);
return windowOpen.usedNames.top().back().c_str();
}It's crashing when adding an ofParameter because it seems related to other classes from ofxImGui and how it handles the window/context...
I have only added #include "Helpers.h" to my project but maybe I must instantiate the class?
Any tip around this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels