More Info

Revision 758340

(Back to digest)
 

Optimization in Office

Marijn Kruisselbrink committed changes in /trunk/koffice/plugins/musicshape:

cache the need to display accidentals in the notes and update it when it can change instead of recalculating it on rendering. It is needed when engraving too, so this would be horribly expensive.

This isn't used yet anywhere, but it should be properly calculated now.

File Changes

Modified 19 files
/trunk/koffice/plugins/musicshape
 
/Renderer.cpp
 
/commands/AddNoteCommand.cpp
 
/commands/MakeRestCommand.cpp
 
/commands/RemoveNoteCommand.cpp
 
/commands/RemoveStaffElementCommand.cpp
 
/commands/SetAccidentalsCommand.cpp
 
/commands/SetKeySignatureCommand.cpp
 
/commands/SetKeySignatureCommand.h
 
/commands/ToggleTiedNoteCommand.cpp
 
/core/Chord.cpp
 
/core/Note.cpp
 
/core/Note.h
 
/core/Sheet.cpp
 
/core/Sheet.h
 
/core/Staff.cpp
 
/core/Staff.h
 
/core/VoiceBar.cpp
 
/core/VoiceBar.h
 
/core/tests/CMakeLists.txt
19 files changed in total