// openFrameworks calls this function in an infinite loop until the app ends void InteractiveBitmaps::draw(){ for (auto rect : rectangles){ rect.second.Draw(); } for (const auto& point : touch_points){ point.second.Draw(); } }