implemented showGui

pull/3471/head
kallaballa 2 years ago
parent c1321d7b8a
commit 44a19018ba
  1. 7
      src/common/viz2d.cpp

@ -437,6 +437,13 @@ void Viz2D::clear(const cv::Scalar &rgba) {
GL_CHECK(glClear(GL_COLOR_BUFFER_BIT));
}
void Viz2D::showGui(bool s) {
auto children = screen().children();
for(auto* child : children) {
child->set_visible(s);
}
}
void Viz2D::setMouseDrag(bool d) {
mouseDrag_ = d;
}

Loading…
Cancel
Save