X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=42fa322cc50b7e47f42ee51e1145a60ecf97c19b;hp=25d1dbf78b1b8afb2134d0ceb3aec2f7759b1ea2;hb=925763b09cd26608cf4b38ce7b44800948a0e5aa;hpb=d6128866e740f496a1bb3c9636e188648507fc3a diff --git a/pv/view/view.hpp b/pv/view/view.hpp index 25d1dbf7..42fa322c 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -267,6 +267,10 @@ private: void update_scroll(); + void reset_scroll(); + + void set_scroll_default(); + void update_layout(); /** @@ -396,6 +400,9 @@ private: unsigned int sticky_events_; QTimer lazy_event_handler_; + + // This is true when the defaults couldn't be set due to insufficient info + bool scroll_needs_defaults; }; } // namespace view