pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/gui display_graphic_context.cxx,1.2,1


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/gui display_graphic_context.cxx,1.2,1.3 screen_ptr.cxx,1.1,1.2 surface_button.cxx,1.6,1.7
Date: 25 Mar 2003 00:37:46 -0000

Update of /var/lib/cvs/Games/Pingus/src/gui
In directory dark:/tmp/cvs-serv28294/gui

Modified Files:
        display_graphic_context.cxx screen_ptr.cxx surface_button.cxx 
Log Message:
- removed lots of not so usefull std::cout's

Index: display_graphic_context.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/gui/display_graphic_context.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- display_graphic_context.cxx 16 Mar 2003 23:07:02 -0000      1.2
+++ display_graphic_context.cxx 25 Mar 2003 00:37:44 -0000      1.3
@@ -31,8 +31,7 @@
 { 
   center = Vector ((x2 - x1)/2.0f + x1,
                      (y2 - y1)/2.0f + y1);
-  std::cout << "View: " << x1 << ", " << y1 << ", " << x2 << ", " << y2 
-  << std::endl;
+  //std::cout << "View: " << x1 << ", " << y1 << ", " << x2 << ", " << y2 << 
std::endl;
 }
 
 DisplayGraphicContext::~DisplayGraphicContext ()

Index: screen_ptr.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/gui/screen_ptr.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- screen_ptr.cxx      19 Feb 2003 09:51:44 -0000      1.1
+++ screen_ptr.cxx      25 Mar 2003 00:37:44 -0000      1.2
@@ -34,8 +34,8 @@
        
       if (*ref_count == 0)
        {
-         std::cout << "XXXXXXXXXXXXXX ScreenPtr: deleting: " 
-                   << screen << " = " << typeid(*screen).name() << std::endl;
+         //std::cout << "XXXXXXXXXXXXXX ScreenPtr: deleting: " 
+          //<< screen << " = " << typeid(*screen).name() << std::endl;
          delete screen;
          delete ref_count;
        }

Index: surface_button.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/gui/surface_button.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- surface_button.cxx  10 Mar 2003 11:29:50 -0000      1.6
+++ surface_button.cxx  25 Mar 2003 00:37:44 -0000      1.7
@@ -63,7 +63,6 @@
 void
 SurfaceButton::on_primary_button_press (int x, int y)
 {
-  std::cout << "XXXXXXXXX press" << std::endl;
   pressed = true;
   
   UNUSED_ARG(x);
@@ -73,7 +72,6 @@
 void
 SurfaceButton::on_primary_button_release (int x, int y)
 {
-  std::cout << "XXXXXXXXX release" << std::endl;
   pressed = false;
   
   UNUSED_ARG(x);
@@ -83,22 +81,18 @@
 void
 SurfaceButton::on_pointer_enter ()
 {
-  std::cout << "XXXXXXXXX enter" << std::endl;
   mouse_over = true;
 }
 
 void
 SurfaceButton::on_pointer_leave ()
 {
-  std::cout << "XXXXXXXXX leave" << std::endl;
   mouse_over = false;
 }
 
 void
 SurfaceButton::on_primary_button_click (int x, int y)
 {
-  std::cout << "Surfacebutton got click" << std::endl;
-
   on_click();
   UNUSED_ARG(x);
   UNUSED_ARG(y);





reply via email to

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