[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h |
Date: |
Wed, 26 Sep 2007 08:35:09 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 07/09/26 08:35:09
Modified files:
. : ChangeLog
gui : gui.cpp gui.h
Log message:
* gui/gui{cpp,h}: Force immediate redraw instead of waiting for
next
frame.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4414&r2=1.4415
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.100&r2=1.101
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.65&r2=1.66
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4414
retrieving revision 1.4415
diff -u -b -r1.4414 -r1.4415
--- ChangeLog 26 Sep 2007 08:11:19 -0000 1.4414
+++ ChangeLog 26 Sep 2007 08:35:08 -0000 1.4415
@@ -3,6 +3,8 @@
* gui/gtk.cpp,gtksup.h: add Refresh menu item, add gtk version checks
for some stock menu items, reorder and add stock images to Movie
Control menu.
+ * gui/gui{cpp,h}: Force immediate redraw instead of waiting for next
+ frame.
2007-09-26 Sandro Santilli <address@hidden>
Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- gui/gui.cpp 25 Sep 2007 15:39:48 -0000 1.100
+++ gui/gui.cpp 26 Sep 2007 08:35:08 -0000 1.101
@@ -325,6 +325,16 @@
}
void
+Gui::refresh_view()
+{
+ movie_root* m = get_current_root();
+ assert(m);
+ _redraw_flag=true;
+ display(m);
+}
+
+
+void
Gui::notify_key_event(gnash::key::code k, int modifier, bool pressed)
{
movie_root* m = get_current_root();
Index: gui/gui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- gui/gui.h 25 Sep 2007 15:39:48 -0000 1.65
+++ gui/gui.h 26 Sep 2007 08:35:08 -0000 1.66
@@ -201,10 +201,9 @@
/// interval specified in the call to setInterval().
static bool advance_movie(Gui* gui);
- /// Force redraw of next frame manually
+ /// Force immediate redraw
///
- /// TODO: force immediate redraw
- void refresh_view() { _redraw_flag=true; }
+ void refresh_view();
/// Put the application in "stop" mode
//