]> git.lyx.org Git - features.git/commit
This commit should hopefully fix all scrolling issues. As an added bonus, mouse scrol...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 16 Aug 2006 15:24:38 +0000 (15:24 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 16 Aug 2006 15:24:38 +0000 (15:24 +0000)
commitdd429b7f268a00eea7d57767363e1aebcb08a25f
treedd14bb4ebe1f44d5601e3bec3e8864f823ef4c32
parentc98992f7743881a6996f20d3b53944497fb3331c
This commit should hopefully fix all scrolling issues. As an added bonus, mouse scrolling should be faster due to a deleted call to BufferView::update() that was not usefull (the important call to updateMetrics() is done in WorkArea()).

Log:
* BufferView/pimpl:
  - scrollDocView(): call to BufferView::update() deleted.
  - scrollDocView(): second part is now in setCursorFromScrollbar()
  - setCursorFromScrollbar(): new method.

* WorkArea:
  - setBufferView(): show the cursor immediately
  - redraw(): call to updateScrollbar()
  - updateScrollbar(): new method
  - scrollBufferView(): fix it and show the cursor immediately.

* qt4/GuiWorkArea
  - setScrollbarParams(): now disable the Qt scrollbar tracking.
  - paintEvent(): scrollbar related code deleted

* qt3/QWorkArea
  - setScrollbarParams(): now disable the Qt scrollbar tracking.

* qt3/QContentPane
  - paintEvent(): scrollbar related code deleted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14704 a592a061-630c-0410-9148-cb99ea01b6c8
src/BufferView.C
src/BufferView.h
src/BufferView_pimpl.C
src/BufferView_pimpl.h
src/frontends/WorkArea.C
src/frontends/WorkArea.h
src/frontends/qt3/QContentPane.C
src/frontends/qt3/QWorkArea.C
src/frontends/qt4/GuiWorkArea.C