gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash gui/gui.h gui/fbsup.h gui/fb.cpp ChangeLog


From: Sandro Santilli
Subject: [Gnash-commit] gnash gui/gui.h gui/fbsup.h gui/fb.cpp ChangeLog
Date: Fri, 13 Oct 2006 11:41:11 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/13 11:41:11

Modified files:
        gui            : gui.h fbsup.h fb.cpp 
        .              : ChangeLog 

Log message:
                * gui/gui.h, gui/fbsup.h, gui/fb.cpp: changed 
set_invalidated_region
                  to take rect by const reference (a const value didn't make 
sense)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fbsup.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fb.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1189&r2=1.1190

Patches:
Index: gui/gui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- gui/gui.h   12 Oct 2006 21:11:28 -0000      1.21
+++ gui/gui.h   13 Oct 2006 11:41:11 -0000      1.22
@@ -115,16 +115,20 @@
     virtual bool setupEvents() = 0;
     
        /// Defines the region on the stage that needs to be redrawn/updated.
+       //
     /// Changes outside that region are unnecessary but not disallowed.
     /// Coordinates are in TWIPS!
+       ///
     /// Note this information is given to the GUI and not directly to the 
     /// renderer because both of them need to support this feature for 
     /// correct results. It is up to the GUI to forward this information to
     /// the renderer.
-    virtual void set_invalidated_region(const rect bounds) {      
-      // does not need to be implemented (optional feature), but still needs to
-      // be available.
-      // Why "rect" (floats)? Because the gui does not really know about the
+       ///
+       virtual void set_invalidated_region(const rect& /*bounds*/) {      
+               // does not need to be implemented (optional feature),
+               // but still needs to be available.
+               // Why "rect" (floats)? Because the gui does not really
+               // know about the
       // scale the renderer currently uses... 
     } 
     

Index: gui/fbsup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/fbsup.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- gui/fbsup.h 12 Oct 2006 16:37:25 -0000      1.7
+++ gui/fbsup.h 13 Oct 2006 11:41:11 -0000      1.8
@@ -119,7 +119,7 @@
     virtual void setInterval(unsigned int interval);
     virtual void setTimeout(unsigned int timeout);
     
-    virtual void set_invalidated_region(const rect bounds);
+    virtual void set_invalidated_region(const rect& bounds);
 };
 
 // end of namespace gnash

Index: gui/fb.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fb.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- gui/fb.cpp  13 Oct 2006 09:42:39 -0000      1.13
+++ gui/fb.cpp  13 Oct 2006 11:41:11 -0000      1.14
@@ -397,7 +397,7 @@
   return y;
 }
 
-void FBGui::set_invalidated_region(const rect bounds) {
+void FBGui::set_invalidated_region(const rect& bounds) {
 
 #ifdef DOUBLE_BUFFER
   

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.1189
retrieving revision 1.1190
diff -u -b -r1.1189 -r1.1190
--- ChangeLog   13 Oct 2006 11:21:28 -0000      1.1189
+++ ChangeLog   13 Oct 2006 11:41:11 -0000      1.1190
@@ -1,5 +1,7 @@
 2006-10-13 Sandro Santilli <address@hidden>
 
+       * gui/gui.h, gui/fbsup.h, gui/fb.cpp: changed set_invalidated_region
+         to take rect by const reference (a const value didn't make sense)
        * gui/gtk.cpp: redraw buffer on expose events.
        * backend/render_handler.h (draw_poly): documented the fact
          that the polygon's corner need not be closed (am I right?)




reply via email to

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