gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9756: testsuite/MovieTester.cpp: ba


From: Russell Nelson
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9756: testsuite/MovieTester.cpp: back out debugging printfs
Date: Tue, 16 Sep 2008 10:28:14 -0400
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9756
committer: Russell Nelson <address@hidden>
branch nick: trunk
timestamp: Tue 2008-09-16 10:28:14 -0400
message:
  testsuite/MovieTester.cpp: back out debugging printfs
modified:
  testsuite/MovieTester.cpp
=== modified file 'testsuite/MovieTester.cpp'
--- a/testsuite/MovieTester.cpp 2008-09-15 20:06:16 +0000
+++ b/testsuite/MovieTester.cpp 2008-09-16 14:28:14 +0000
@@ -145,7 +145,6 @@
         _movie_root->setRootMovie( mi.release() );
 
        // ... and render it
-       std::cout << "invalidatedBounds1" << _invalidatedBounds <<std::endl;
        render();
 }
 
@@ -180,14 +179,12 @@
 MovieTester::redraw()
 {
        _forceRedraw=true;
-       std::cout << "invalidatedBounds2" << _invalidatedBounds <<std::endl;
        render();
 }
 
 void
 MovieTester::render() 
 {
-       std::cout << "invalidatedBounds3" << _invalidatedBounds <<std::endl;
        // Get invalidated ranges and cache them
        _invalidatedBounds.setNull();
 
@@ -252,7 +249,6 @@
 
        _movie_root->advance();
 
-       std::cout << "invalidatedBounds4" << _invalidatedBounds <<std::endl;
        render();
 
 }
@@ -307,10 +303,7 @@
 {
        _x = x;
        _y = y;
-       if ( _movie_root->notify_mouse_moved(x, y) ) {
-               std::cout << "invalidatedBounds5" << _invalidatedBounds 
<<std::endl;
-               render();
-       }
+       if ( _movie_root->notify_mouse_moved(x, y) ) render();
 }
 
 void
@@ -384,7 +377,6 @@
 {
        if ( _movie_root->notify_mouse_clicked(true, 1) )
        {
-       std::cout << "invalidatedBounds6" << _invalidatedBounds <<std::endl;
                render();
        }
 }
@@ -394,7 +386,6 @@
 {
        if ( _movie_root->notify_mouse_clicked(false, 1) )
        {
-       std::cout << "invalidatedBounds7" << _invalidatedBounds <<std::endl;
                render();
        }
 }
@@ -406,10 +397,7 @@
        if ( _movie_root->notify_mouse_clicked(true, 1) ) ++wantRedraw;
        if ( _movie_root->notify_mouse_clicked(false, 1) ) ++wantRedraw;
 
-       if ( wantRedraw ) {
-       std::cout << "invalidatedBounds8" << _invalidatedBounds <<std::endl;
-               render();
-       }
+       if ( wantRedraw ) render();
 }
 
 void
@@ -417,7 +405,6 @@
 {
        if ( _movie_root->notify_key_event(code, true) )
        {
-       std::cout << "invalidatedBounds9" << _invalidatedBounds <<std::endl;
                render();
        }
 }
@@ -427,7 +414,6 @@
 {
        if ( _movie_root->notify_key_event(code, false) )
        {
-       std::cout << "invalidatedBounds10" << _invalidatedBounds <<std::endl;
                render();
        }
 }
@@ -606,7 +592,6 @@
        _movie_root->setRootMovie(_movie);
 
        // Set _movie before calling ::render
-       std::cout << "invalidatedBounds11" << _invalidatedBounds <<std::endl;
        render();
 }
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]