projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MainWindow: Removed old main toolbar
[pulseview.git]
/
pv
/
view
/
view.cpp
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 5e89397aec8e5e71c7732bd7e27faedadb20f40d..c09609ac65d49daa9a9ad8988ff805f84cc39a6f 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-204,6
+204,13
@@
int View::owner_visual_v_offset() const
return -verticalScrollBar()->sliderPosition();
}
+void View::set_v_offset(int offset)
+{
+ verticalScrollBar()->setSliderPosition(offset);
+ header_->update();
+ viewport_->update();
+}
+
unsigned int View::depth() const
{
return 0;