Revision 57f1391...

Go back to digest for 9th January 2011

Optimization in Office

cberger at cberger dot net committed changes in [Calligra] /krita/image:

refactor:
* introduce KisRecordedNodeAction that contains information specific to action that applies to Node, making KisRecordedAction more generic
* pass a KoUpdater* around
* and only applies the action once per concerned node, instead of n*n (first time in KisMacroPlayer, second time inside the action itself)

File Changes

Added 2 files
  • /krita/image/recorder
  •   /kis_recorded_node_action.cc
  •   /kis_recorded_node_action.h
Modified 10 files
  • /krita/image
  •   /CMakeLists.txt
  •   /recorder/kis_macro_player.cc
  •   /recorder/kis_recorded_action.cc
  •   /recorder/kis_recorded_action.h
  •   /recorder/kis_recorded_filter_action.cpp
  •   /recorder/kis_recorded_filter_action.h
  •   /recorder/kis_recorded_paint_action.cpp
  •   /recorder/kis_recorded_paint_action.h
  •   /tests/kis_macro_test.cpp
  •   /tests/kis_recorded_action_test.cpp
12 files changed in total