Displaying 2 results from an estimated 2 matches for "n_conditions".
Did you mean:
conditions
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...r";
- if (conditions & SWFDEC_EVENT_DRAG_OUT)
- return "DragOut";
- if (conditions & SWFDEC_EVENT_KEY_PRESS)
- return "KeyPress";
- if (conditions & SWFDEC_EVENT_CONSTRUCT)
- return "Construct";
- return "No Event";
-}
-
+#define N_CONDITIONS 19
void
swfdec_event_list_parse (SwfdecEventList *list, SwfdecBits *bits, int version,
guint conditions, guint8 key, const char *description)
{
SwfdecEvent event;
char *name;
+ guint i;
g_return_if_fail (list != NULL);
g_return_if_fail (list->refcount == 1);
@@ -202,8 +160...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...decAsObject *object,
- SwfdecSecurity *sec, guint condition, guint8 key)
+ guint condition, guint8 key)
{
guint i;
g_return_if_fail (list != NULL);
g_return_if_fail (SWFDEC_IS_AS_OBJECT (object));
- g_return_if_fail (SWFDEC_IS_SECURITY (sec));
g_return_if_fail (condition < N_CONDITIONS);
condition = (1 << condition);
@@ -189,7 +188,7 @@ swfdec_event_list_execute (SwfdecEventList *list, SwfdecAsObject *object,
if ((event->conditions & condition) &&
event->key == key) {
SWFDEC_LOG ("executing script for event %u on scriptable %p"...