search for: swfdeckey

Displaying 8 results from an estimated 8 matches for "swfdeckey".

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
...tware + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + */ + +#ifndef _SWFDEC_KEY_H_ +#define _SWFDEC_KEY_H_ + +#include <glib.h> + +G_BEGIN_DECLS + +/* can't make this a guint8 because of signal handlers, but it should be a guint8 */ +typedef guint SwfdecKey; + + +G_END_DECLS +#endif diff-tree d19ac4b569501dae4eb5e40a6ebaadd9e6c9d318 (from fafe076b291915253f1434b59979061a28811e5f) Author: Benjamin Otte <otte at gnome.org> Date: Fri Aug 3 13:04:03 2007 +0200 make key handling work diff --git a/test/trace/swfdec_interaction.c b/test/t...
2007 Aug 07
0
13 commits - libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec_as_types.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as
...38, SWFDEC_KEY_RIGHT = 39, SWFDEC_KEY_DOWN = 40, SWFDEC_KEY_INSERT = 45, @@ -117,7 +117,7 @@ enum { SWFDEC_KEY_LEFT_BRACKET = 219, SWFDEC_KEY_BACKSLASH = 220, SWFDEC_KEY_RIGHT_BRACKET = 221, - SWFDEC_KEY_APOSTROPHE = 222 + SWFDEC_KEY_APOSTROPHE = 222, SWFDEC_KEY_MAX = 255 } SwfdecKey; diff-tree 8c3d6bef1a6faae513b6d141bb3b61eadf9aea12 (from 6a1425fdccdf89ca724b26586b2ee842027e9b19) Author: Benjamin Otte <otte at gnome.org> Date: Tue Aug 7 11:47:40 2007 +0200 add an enum for all the keys diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am index 1d8bb94..c3...
2007 Aug 24
0
9 commits - configure.ac doc/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_keys.h libswfdec/swfdec_pattern.c libswfdec/swfdec_player.c test/trace
...Aug 24 12:00:35 2007 +0200 Add missing underscore in docs I'm not a regexp master... diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index 4abf578..7c70cf8 100644 --- a/libswfdec/swfdec_player.c +++ b/libswfdec/swfdec_player.c @@ -130,103 +130,103 @@ /** * SwfdecKey: - * @SWFDEC_KEYBACKSPACE: the backspace key - * @SWFDEC_KEYTAB: the tab key - * @SWFDEC_KEYCLEAR: the clear key - * @SWFDEC_KEYENTER: the enter key - * @SWFDEC_KEYSHIFT: the shift key - * @SWFDEC_KEYCONTROL: the control key - * @SWFDEC_KEYALT: the alt key - * @SWFDEC_KEYCAPS_LOCK: the caps lock ke...
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
...4 --- 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.args.key.ascii = ascii; g_array_append_val (inter->commands, command); } @@ -159,20 +160,25 @@ swfdec_interaction_new...
2008 Jul 04
2
swfdec and clutter
hi, i started an experimental clutter-swf renderer project http://www.students.itu.edu.tr/~gumusuy/clutter-swf-0.1.0.tar.bz2 using swfdec-0.6 In fact this project is a part of bigger clutter media project. For less dependency i configured swfdec by ./configure --prefix=/usr --disable-maintainer-mode --disable-gtk --disable-mad --disable-ffmpeg --disable-gstreamer --disable-vivified
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...get rid of unused symbols doc fixes that function is gone now rename "start/finish frame" to "enter/leave frame" change function names everywhere name the debugger section debugger, not frame and actually include it fix documentation add SwfdecKey docs document the SwfdecScript object document Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec add -undeclared.txt file, too implement String.lastIndexOf add test for lastIndexOf implement _url end when there...
2007 Aug 23
0
23 commits - doc/.gitignore doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am
...keys.c +++ b/libswfdec-gtk/swfdec_gtk_keys.c @@ -58,6 +58,16 @@ SWFDEC_KEY_META_R 116 SWFDEC_KEY_MENU 117 */ +/** + * swfdec_gtk_keycode_from_hardware_keycode: + * @hardware_keycode: a hardware keycode sent from the X server + * + * Tries to transform an X hardware keycode to the corresponding #SwfdecKey. + * This is a utility function for cases where key events need to be transformed + * manually. + * + * Returns: the corresponding key code as used in Flash. + **/ guint swfdec_gtk_keycode_from_hardware_keycode (guint hardware_keycode) { diff-tree 4c78791e242c5cc28d1178575f615f411b5e4288 (from 6...
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
....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_wait (SwfdecInteraction *inter, int...