]> git.lyx.org Git - features.git/commit
A more radical approach to inset background painting
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 17 Aug 2016 09:21:38 +0000 (11:21 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 17 Aug 2016 10:05:00 +0000 (12:05 +0200)
commite194c9ce279cc226962ab8f1ccb253893efd6d3c
tree98b16064bb8323ac80e94d7956d21ca898bc380a
parent6f82f51cbe53e52e33e73d22f01ba9582d643083
A more radical approach to inset background painting

Now by default all insets paint their own background when needed. This
means that 63cf3297 and part of 9940acc5 can be reverted.

To avoid extra painting, background drawing is disabled for
InsetCommand and InsetCollapsable. These insets draw background as
part of their normal drawing activity.

This will avoid drawing artifacts with InsetNewpage, InsetVSpace and
probably some others.
src/insets/Inset.cpp
src/insets/Inset.h
src/insets/InsetCollapsable.h
src/insets/InsetCommand.h
src/insets/InsetQuotes.cpp
src/insets/InsetQuotes.h
src/insets/InsetSpecialChar.cpp
src/insets/InsetSpecialChar.h
src/mathed/MathMacroTemplate.cpp
src/mathed/MathMacroTemplate.h