X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView_pimpl.h;h=7dbea916305364e01dd7a9a339312a2bedd96c5f;hb=ba0820145782f4f6a31d9fe88c73e15d4a3e1fd6;hp=c0d09c806bec4eb67dfdda84c9134a88b61d5477;hpb=1136642d8a56dfad298906ba0f2b389722736c5d;p=lyx.git diff --git a/src/BufferView_pimpl.h b/src/BufferView_pimpl.h index c0d09c806b..7dbea91630 100644 --- a/src/BufferView_pimpl.h +++ b/src/BufferView_pimpl.h @@ -28,8 +28,8 @@ struct BufferView::Pimpl { void resize(); /// void redraw(); - /// - void fitCursor(); + /// Return true if the cursor was fitted. + bool fitCursor(); /// void redoCurrentBuffer(); /// @@ -39,8 +39,6 @@ struct BufferView::Pimpl { /// void update(signed char f); /// - void smallUpdate(signed char f); - /// void gotoError(); /// Update pixmap of screen void updateScreen(); @@ -51,12 +49,6 @@ struct BufferView::Pimpl { /// void scrollCB(double value); /// - void downCB(long time, int button); - /// - void scrollUpOnePage(); - /// - void scrollDownOnePage(); - /// void create_view(); /// Inset * checkInsetHit(int & x, int & y, unsigned int button); @@ -77,6 +69,10 @@ struct BufferView::Pimpl { /// void tripleClick(int x, int y, unsigned int button); /// + void enterView(); + /// + void leaveView(); + /// void cursorToggle(); /// void cursorPrevious(); @@ -142,5 +138,7 @@ struct BufferView::Pimpl { WorkArea * workarea; /// UpdateInset updatelist; +private: + bool using_xterm_cursor; }; #endif