]> git.lyx.org Git - lyx.git/commit
RowPainter const cleanup
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 17 May 2016 13:00:09 +0000 (15:00 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 30 May 2016 12:55:41 +0000 (14:55 +0200)
commit4c19c5149df496ea327582f0934506d7e3dc6ef9
tree4666cfecfc60c93fdf86764e74918f20a0ed4563
parent095c390fe2d7c983ccb0228d73c09b8da58bc206
RowPainter const cleanup

Change the various paint* helpers to take a single row element as argument.

Do not update x_ in the various paint* helpers. Constify them. Update x_ in paintText and paintOnlyInsets instead.

Remove an empty call to paintForeignMark in paintInset (the call did nothing since orig_x == x_ at this point).
development/PAINTING_ANALYSIS
src/Row.h
src/RowPainter.cpp
src/RowPainter.h