src/viewer/scrollview.cpp
void ScrollView::Update() {
  std::lock_guard<std::mutex> guard(*svmap_mu);
  for (auto &iter : svmap) {
    if (iter.second != nullptr) {
      iter.second->UpdateWindow();
    }
  }
}
// Note: this is an update to all windows
this is an update to all windows
this is an update to all windows
void ScrollView::Update() {
  std::lock_guard<std::mutex> guard(*svmap_mu);
  for (auto &iter : svmap) {
    if (iter.second != nullptr) {
      iter.second->UpdateWindow();
    }
  }
}
void ScrollView :: Update ( ) { std :: lock_guard < std :: mutex > guard ( * svmap_mu ) ; for ( auto & iter : svmap ) { if ( iter . second != nullptr ) { iter . second -> UpdateWindow ( ) ; } } }
Note: this is an update to all windows
Note : this is an update to all windows