mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
use update instead of repaint when changing cursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13460 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
161b10a13b
commit
956270cc3b
@ -1,3 +1,8 @@
|
|||||||
|
2006-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||||
|
|
||||||
|
* qscreen.C (showCursor, removeCursor): just update, instead of a
|
||||||
|
full repaint.
|
||||||
|
|
||||||
2006-03-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
2006-03-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
* QPrefs.C (apply, update_contents):
|
* QPrefs.C (apply, update_contents):
|
||||||
|
@ -144,7 +144,7 @@ void QScreen::showCursor(int x, int y, int h, Cursor_Shape shape)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
owner_.getContent()->repaint(
|
owner_.getContent()->update(
|
||||||
cursor_x_, cursor_y_,
|
cursor_x_, cursor_y_,
|
||||||
cursor_w_, cursor_h_);
|
cursor_w_, cursor_h_);
|
||||||
}
|
}
|
||||||
@ -160,5 +160,5 @@ void QScreen::removeCursor()
|
|||||||
&nocursor_pixmap_, 0, 0, cursor_w_, cursor_h_);
|
&nocursor_pixmap_, 0, 0, cursor_w_, cursor_h_);
|
||||||
|
|
||||||
owner_.getContent()
|
owner_.getContent()
|
||||||
->repaint(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
|
->update(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
|
||||||
}
|
}
|
||||||
|
@ -81,6 +81,8 @@ What's new
|
|||||||
|
|
||||||
- Fix Find&Replace with sciword bindings.
|
- Fix Find&Replace with sciword bindings.
|
||||||
|
|
||||||
|
- small optimizations in the way the Qt frontend updates the screen,
|
||||||
|
|
||||||
- Fix crash when deleting row/column in a math array
|
- Fix crash when deleting row/column in a math array
|
||||||
|
|
||||||
- remove zombie wheel mouse spin box from the qt preferences dialog (bug 783).
|
- remove zombie wheel mouse spin box from the qt preferences dialog (bug 783).
|
||||||
|
Loading…
Reference in New Issue
Block a user