search for: swfdec_command_append_key

Displaying 3 results from an estimated 3 matches for "swfdec_command_append_key".

2007 Aug 07
0
5 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_keys.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie_as.c player/swfdebug.c player/swfdec_debug_movies.c player/swfdec_debug_movies.h test/trace
...update to new key press API diff --git a/test/trace/swfdec_interaction.c b/test/trace/swfdec_interaction.c index 914f8ff..e9e97bd 100644 --- a/test/trace/swfdec_interaction.c +++ b/test/trace/swfdec_interaction.c @@ -81,12 +81,13 @@ swfdec_command_append_mouse (SwfdecInter } static void -swfdec_command_append_key (SwfdecInteraction *inter, guint key, SwfdecCommandType type) +swfdec_command_append_key (SwfdecInteraction *inter, SwfdecKey code, guint ascii, SwfdecCommandType type) { SwfdecCommand command; command.command = type; - command.args.key = key; + command.args.key.code = code; + command.a...
2007 Aug 05
0
7 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec.h libswfdec/swfdec_key.h libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...tracking key presses and releases diff --git a/test/trace/swfdec_interaction.c b/test/trace/swfdec_interaction.c index 371d786..40b093c 100644 --- a/test/trace/swfdec_interaction.c +++ b/test/trace/swfdec_interaction.c @@ -81,6 +81,16 @@ swfdec_command_append_mouse (SwfdecInter } static void +swfdec_command_append_key (SwfdecInteraction *inter, guint key, SwfdecCommandType type) +{ + SwfdecCommand command; + + command.command = type; + command.args.key = key; + g_array_append_val (inter->commands, command); +} + +static void swfdec_command_append_wait (SwfdecInteraction *inter, int msecs) { SwfdecCom...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...mand command; - - command.command = type; - command.args.mouse.x = x; - command.args.mouse.y = y; - command.args.mouse.button = button; - inter->mouse_x = x; - inter->mouse_y = y; - inter->mouse_button = button; - g_array_append_val (inter->commands, command); -} - -static void -swfdec_command_append_key (SwfdecInteraction *inter, SwfdecKey code, guint ascii, SwfdecCommandType type) -{ - SwfdecCommand command; - - command.command = type; - command.args.key.code = code; - command.args.key.ascii = ascii; - g_array_append_val (inter->commands, command); -} - -static void -swfdec_command_append...