changeset 54:709d63d90028

fixed some bugs in tonal change detection function, removed ChromaMatrix (no longer used), added TCSgram
author Martin Gasser
date Tue, 21 Mar 2006 18:05:28 +0000
parents 7fcdc6df4853
children 6befca60ab4e
files base/View.cpp base/View.h base/ViewManager.cpp
diffstat 3 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
 
--- 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;
 
--- 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 <iostream>
 
-//#define DEBUG_VIEW_MANAGER 1
+// #define DEBUG_VIEW_MANAGER 1
 
 ViewManager::ViewManager() :
     m_playSource(0),