X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView_pimpl.h;h=2032a09ec374afe611052a9dd483ef4906743473;hb=24f8676130d1e0769db394b7142dae7eeb1d955e;hp=c14c962a99f8d4bda0071c7d5dd1e9fa424a8c5e;hpb=07bfd642553ca2a9b40d7bea36b82c343e490810;p=lyx.git diff --git a/src/BufferView_pimpl.h b/src/BufferView_pimpl.h index c14c962a99..2032a09ec3 100644 --- a/src/BufferView_pimpl.h +++ b/src/BufferView_pimpl.h @@ -1,10 +1,18 @@ // -*- C++ -*- /** * \file BufferView_pimpl.h - * Copyright 2002 the LyX Team - * Read the file COPYING + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * \author various + * \author Asger Alstrup + * \author Alfredo Braustein + * \author Lars Gullik Bjønnes + * \author John Levon + * \author André Pönitz + * \author Dekel Tsur + * \author Jürgen Vigna + * + * Full author contact details are available in file CREDITS. */ #ifndef BUFFERVIEW_PIMPL_H @@ -43,7 +51,7 @@ struct BufferView::Pimpl : public boost::signals::trackable { /// void redoCurrentBuffer(); /// - int resizeCurrentBuffer(); + void resizeCurrentBuffer(); /// void update(); /** @@ -89,18 +97,22 @@ struct BufferView::Pimpl : public boost::signals::trackable { /// void insetUnlock(); /// - void toggleSelection(bool = true); - /// void center(); /// bool insertInset(InsetOld * inset, string const & lout = string()); /// - void updateInset(InsetOld * inset); + void updateInset(InsetOld const * inset); /// a function should be executed from the workarea bool workAreaDispatch(FuncRequest const & ev); /// a function should be executed bool dispatch(FuncRequest const & ev); + /// + int top_y() const; + /// + void top_y(int y); private: + /// the y coordinate of the top of the screen + int top_y_; /// An error list (replaces the error insets) ErrorList errorlist_; /// add an error to the list