[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog gui/gui.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog gui/gui.cpp |
Date: |
Fri, 27 Apr 2007 10:19:42 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/04/27 10:19:42
Modified files:
. : ChangeLog
gui : gui.cpp
Log message:
* gui/gui.cpp: add a DEBUG_MOUSE_COORDINATES define, for making
writing test runners easier.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3018&r2=1.3019
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.75&r2=1.76
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3018
retrieving revision 1.3019
diff -u -b -r1.3018 -r1.3019
--- ChangeLog 27 Apr 2007 09:43:43 -0000 1.3018
+++ ChangeLog 27 Apr 2007 10:19:41 -0000 1.3019
@@ -1,5 +1,7 @@
2007-04-27 Sandro Santilli <address@hidden>
+ * gui/gui.cpp: add a DEBUG_MOUSE_COORDINATES define, for making
+ writing test runners easier.
* testsuite/swfdec/swfdec_gnash_tester: use the .trace.org files when
avaiable, as in that case it means that the .trace are just swfdec
results (Ben is cheating !)
Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- gui/gui.cpp 23 Apr 2007 19:22:39 -0000 1.75
+++ gui/gui.cpp 27 Apr 2007 10:19:42 -0000 1.76
@@ -46,7 +46,7 @@
/// debug the GUI part, however (see if blitting the region works), then you
/// probably won't define this.
#ifdef ENABLE_REGION_UPDATES_DEBUGGING
-//#define REGION_UPDATES_DEBUGGING_FULL_REDRAW 1
+#define REGION_UPDATES_DEBUGGING_FULL_REDRAW 1
#endif
#ifdef ENABLE_REGION_UPDATES_DEBUGGING
@@ -56,6 +56,10 @@
#define IF_DEBUG_REGION_UPDATES(x)
#endif
+// Define this to have gnash print the mouse pointer coordinates
+// as the mouse moves
+//#define DEBUG_MOUSE_COORDINATES 1
+
namespace gnash {
Gui::Gui() :
@@ -245,7 +249,9 @@
{
movie_root* m = get_current_root();
- //log_msg(_("mouse @ %d,%d"), x, y);
+#ifdef DEBUG_MOUSE_COORDINATES
+ log_msg(_("mouse @ %d,%d"), x, y);
+#endif
if ( m->notify_mouse_moved(x, y) )
{
// any action triggered by the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog gui/gui.cpp,
Sandro Santilli <=