+ if (show_cursors_ != show) {
+ show_cursors_ = show;
+ cursor_state_changed(show);
+ ruler_->update();
+ viewport_->update();
+
+ } else {
+ show_cursors_ = show;
+ }
+}
+
+void View::set_cursors(pv::util::Timestamp& first, pv::util::Timestamp& second) {
+ assert(cursors);
+
+ cursors_->first()->set_time(first);
+ cursors_->second()->set_time(second);
+
+ ruler_->update();
+ viewport_->update();