Displaying 2 results from an estimated 2 matches for "c6132a6".
Did you mean:
613226
2007 Oct 30
0
libswfdec/swfdec_button_movie.c
...635cd2a755710afb5184
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Oct 30 13:45:33 2007 +0100
fix event emission of rollOver event
Note to self: SwfdecButton _seriously_ needs a rewrite
diff --git a/libswfdec/swfdec_button_movie.c b/libswfdec/swfdec_button_movie.c
index c6132a6..8a18ef5 100644
--- a/libswfdec/swfdec_button_movie.c
+++ b/libswfdec/swfdec_button_movie.c
@@ -48,7 +48,7 @@ static const SwfdecButtonCondition event_table[2][4][4] = {
{ SWFDEC_BUTTON_OVER_UP_TO_IDLE, -1, -1, SWFDEC_BUTTON_OVER_UP_TO_OVER_DOWN },
{ -1, SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOW...
2007 Oct 25
0
4 commits - libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c test/trace
...C_BUTTON_OUT_DOWN_TO_OVER_DOWN = 5,
+ SWFDEC_BUTTON_OUT_DOWN_TO_IDLE = 6,
+ SWFDEC_BUTTON_IDLE_TO_OVER_DOWN = 7,
+ SWFDEC_BUTTON_OVER_DOWN_TO_IDLE = 8
} SwfdecButtonCondition;
struct _SwfdecButton {
diff --git a/libswfdec/swfdec_button_movie.c b/libswfdec/swfdec_button_movie.c
index 3aad8fd..c6132a6 100644
--- a/libswfdec/swfdec_button_movie.c
+++ b/libswfdec/swfdec_button_movie.c
@@ -99,12 +99,12 @@ swfdec_button_movie_execute (SwfdecButtonMovie *movie,
const char *name;
if (movie->button->menubutton) {
- g_assert ((condition & (SWFDEC_BUTTON_OVER_DOWN_TO_OUT_DOWN \
-...