X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=007ea3b68ba688395e0d20a87c25aea3cab30503;hb=ae5f66281c38a76dcb7011907d7a86a99b9dd4dd;hp=0412c697ba1db0aea118760618fb1fd99c97c04d;hpb=f4e57597347e47a4ea58fbdc7b0a22e07f1c0ede;p=pulseview.git diff --git a/pv/view/view.hpp b/pv/view/view.hpp index 0412c697..007ea3b6 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_VIEW_HPP @@ -424,7 +423,12 @@ private: QTimer lazy_event_handler_; // This is true when the defaults couldn't be set due to insufficient info - bool scroll_needs_defaults; + bool scroll_needs_defaults_; + + // A nonzero value indicates the v offset to restore. See View::resizeEvent() + int saved_v_offset_; + + bool size_finalized_; }; } // namespace TraceView