gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog gui/fltk.cpp


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog gui/fltk.cpp
Date: Sat, 03 Mar 2007 15:35:17 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Bastiaan Jacques <bjacques>     07/03/03 15:35:17

Modified files:
        .              : ChangeLog 
        gui            : fltk.cpp 

Log message:
        Invalidate the whole drawing area, which now appears
        to be a requirement for Agg when we choose not to let the GUI deal with
        clipping.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2520&r2=1.2521
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltk.cpp?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2520
retrieving revision 1.2521
diff -u -b -r1.2520 -r1.2521
--- ChangeLog   3 Mar 2007 15:07:23 -0000       1.2520
+++ ChangeLog   3 Mar 2007 15:35:17 -0000       1.2521
@@ -2,6 +2,9 @@
 
        * gui/gtk.cpp: Don't neglect to render the buffer for renderers other
        than AGG.
+       * gui/fltk.cpp: Invalidate the whole drawing area, which now appears
+       to be a requirement for Agg when we choose not to let the GUI deal with
+       clipping.
 
 2007-03-03 Martin Guy <address@hidden>
 

Index: gui/fltk.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fltk.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gui/fltk.cpp        31 Jan 2007 15:24:13 -0000      1.6
+++ gui/fltk.cpp        3 Mar 2007 15:35:17 -0000       1.7
@@ -61,6 +61,7 @@
 void
 FltkGui::renderBuffer()
 {
+#if 0
     // FLTK has a nice mechanism where you can set damage() to whatever you 
want
     // so in draw() you can check what exactly you want to redraw. But
     // unfortunately it doesn't seem to remember what bits you turn on. So I'll
@@ -73,6 +74,11 @@
       setInvalidatedRegion(draw_bounds);
       firstRun = false;
     }
+#endif
+
+    rect bounds;
+    bounds.set_world();
+    _glue->invalidateRegion(bounds);
 
     _glue->redraw();
 }




reply via email to

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