# HG changeset patch # User Martin Gasser # Date 1142964328 0 # Node ID 709d63d900281ed9b7d02543d944945b6777f854 # Parent 7fcdc6df48532a0a6a20525019ca69795b610845 fixed some bugs in tonal change detection function, removed ChromaMatrix (no longer used), added TCSgram diff -r 7fcdc6df4853 -r 709d63d90028 base/View.cpp --- a/base/View.cpp Mon Mar 20 18:34:16 2006 +0000 +++ b/base/View.cpp Tue Mar 21 18:05:28 2006 +0000 @@ -328,6 +328,9 @@ int View::getZoomLevel() const { +#ifdef DEBUG_VIEW_WIDGET_PAINT + std::cout << "zoom level: " << m_zoomLevel << std::endl; +#endif return m_zoomLevel; } diff -r 7fcdc6df4853 -r 709d63d90028 base/View.h --- a/base/View.h Mon Mar 20 18:34:16 2006 +0000 +++ b/base/View.h Tue Mar 21 18:05:28 2006 +0000 @@ -24,6 +24,8 @@ #include "base/ViewManager.h" #include "base/XmlExportable.h" +// #define DEBUG_VIEW_WIDGET_PAINT 1 + class Layer; class ViewPropertyContainer; diff -r 7fcdc6df4853 -r 709d63d90028 base/ViewManager.cpp --- a/base/ViewManager.cpp Mon Mar 20 18:34:16 2006 +0000 +++ b/base/ViewManager.cpp Tue Mar 21 18:05:28 2006 +0000 @@ -20,7 +20,7 @@ #include -//#define DEBUG_VIEW_MANAGER 1 +// #define DEBUG_VIEW_MANAGER 1 ViewManager::ViewManager() : m_playSource(0),