gnash-commit
[Top][All Lists]
Advanced

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

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


From: Udo Giacomozzi
Subject: [Gnash-commit] gnash ChangeLog gui/gui.h gui/gui.cpp
Date: Thu, 19 Oct 2006 07:32:49 +0000

CVSROOT:        /cvsroot/gnash
Module name:    gnash
Changes by:     Udo Giacomozzi <udog>   06/10/19 07:32:49

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

Log message:
        Immediate redraw after mouse click

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.1309&r2=1.1310
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.35&r2=1.36

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.1309
retrieving revision 1.1310
diff -u -b -r1.1309 -r1.1310
--- ChangeLog   18 Oct 2006 22:36:21 -0000      1.1309
+++ ChangeLog   19 Oct 2006 07:32:49 -0000      1.1310
@@ -1,3 +1,7 @@
+2006-10-18 Udo Giacomozzi <address@hidden>
+
+       * gui/gui.h, gui/gui.cpp: Immediate redraw after mouse click
+
 2006-10-18  Rob Savoye  <address@hidden>
 
        * gui/gtk.cpp: Include rc.h, to get the default sound

Index: gui/gui.h
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- gui/gui.h   18 Oct 2006 18:16:01 -0000      1.27
+++ gui/gui.h   19 Oct 2006 07:32:49 -0000      1.28
@@ -180,7 +180,7 @@
     /// @param mouse_pressed Determines whether the mouse button is being
     ///                      pressed (true) or being released (false)
     /// @param mask A binary representation of the buttons currently pressed.
-    static void notify_mouse_clicked(bool mouse_pressed, int mask);
+    void notify_mouse_clicked(bool mouse_pressed, int mask);
 
     /// \brief
     /// Advances the movie to the next frame. This is to take place after the

Index: gui/gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- gui/gui.cpp 18 Oct 2006 18:16:01 -0000      1.35
+++ gui/gui.cpp 19 Oct 2006 07:32:49 -0000      1.36
@@ -214,7 +214,11 @@
 void
 Gui::notify_mouse_clicked(bool mouse_pressed, int mask) 
 {
-    get_current_root()->notify_mouse_clicked(mouse_pressed, mask);
+    movie_interface* m = get_current_root();
+
+    m->notify_mouse_clicked(mouse_pressed, mask);
+    
+    display(m);
 }
 
 bool




reply via email to

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