UIObject *o = new UIObject("widget1", ofPoint(100), ofPoint(75));
ui.addChild(o);
^ using this constructor instead of
UIObject *o = ui.addChild(new UIObject("o4", ofPoint(75, 75), ofPoint(100, 100)));
breaks the gesture recognizer that goes right after it. It will not call any of its callbacks.
^ using this constructor instead of
breaks the gesture recognizer that goes right after it. It will not call any of its callbacks.