Displaying 15 results from an estimated 15 matches for "swfdec_player_handle_mouse".
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
...2007 +0200
make documentation key function aware
diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt
index a58478d..69d7785 100644
--- a/doc/swfdec-sections.txt
+++ b/doc/swfdec-sections.txt
@@ -91,6 +91,8 @@ swfdec_player_set_alignment
swfdec_player_render
swfdec_player_advance
swfdec_player_handle_mouse
+swfdec_player_key_press
+swfdec_player_key_release
swfdec_player_render_audio
swfdec_player_get_audio
<SUBSECTION Standard>
@@ -142,6 +144,7 @@ SwfdecLoaderDataType
SwfdecLoaderRequest
swfdec_loader_data_type_get_extension
SwfdecAlignment
+SwfdecKey
SwfdecMouseCursor
SwfdecScaleMode...
2007 Aug 08
0
5 commits - libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec_script.h player/Makefile.am test/Makefile.am
.../libswfdec-gtk/swfdec_gtk_widget.c
+++ b/libswfdec-gtk/swfdec_gtk_widget.c
@@ -80,7 +80,7 @@ swfdec_gtk_widget_motion_notify (GtkWidg
gdk_window_get_pointer (gtkwidget->window, &x, &y, NULL);
- if (priv->interactive)
+ if (priv->interactive && priv->player)
swfdec_player_handle_mouse (priv->player, x, y, priv->button);
return FALSE;
@@ -92,7 +92,7 @@ swfdec_gtk_widget_leave_notify (GtkWidge
SwfdecGtkWidget *widget = SWFDEC_GTK_WIDGET (gtkwidget);
SwfdecGtkWidgetPrivate *priv = widget->priv;
- if (priv->interactive) {
+ if (priv->interactive &...
2007 Nov 28
2
swfdec-mozilla does not compile
With latest swfdec git i get this:
swfmoz_player.c: In function 'swfmoz_player_mouse_changed':
swfmoz_player.c:651: warning: implicit declaration of function
'swfdec_player_handle_mouse' make[2]: ***
[libswfdecmozilla_la-swfmoz_player.lo] Error 1
thanks,
riccardo
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...et_motion_notify (GtkWidget *gtkwidget, GdkEventMotion *event)
+{
+ SwfdecGtkWidget *widget = SWFDEC_GTK_WIDGET (gtkwidget);
+ SwfdecGtkWidgetPrivate *priv = widget->priv;
+ int x, y;
+
+ gdk_window_get_pointer (gtkwidget->window, &x, &y, NULL);
+
+ if (priv->interactive)
+ swfdec_player_handle_mouse (priv->player,
+ x / priv->real_scale, y / priv->real_scale, priv->button);
+
+ return FALSE;
+}
+
+static gboolean
+swfdec_gtk_widget_leave_notify (GtkWidget *gtkwidget, GdkEventCrossing *event)
+{
+ SwfdecGtkWidget *widget = SWFDEC_GTK_WIDGET (gtkwidget);
+ SwfdecGtkWidgetPrivat...
2007 Dec 17
0
2 commits - doc/Makefile.am doc/swfdec-sections.txt NEWS
...fdec_resource_request.h \
diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt
index 4a5e12a..09d067e 100644
--- a/doc/swfdec-sections.txt
+++ b/doc/swfdec-sections.txt
@@ -92,7 +92,9 @@ swfdec_player_get_alignment
swfdec_player_set_alignment
swfdec_player_render
swfdec_player_advance
-swfdec_player_handle_mouse
+swfdec_player_mouse_move
+swfdec_player_mouse_press
+swfdec_player_mouse_release
swfdec_player_key_press
swfdec_player_key_release
swfdec_player_render_audio
@@ -100,6 +102,7 @@ swfdec_player_get_audio
swfdec_player_get_maximum_runtime
swfdec_player_set_maximum_runtime
<SUBSECTION Standar...
2007 Jun 20
2
Automating swfdec playing
Hi,
I got tired of firing up swfplay, click click click drag, check log
output then restart again. How hard is it to create a mechanism to
emulate a user to control a flash? What I need is a script like this:
sleep 1 # wait for introduction
click 100 100 # click at (100,100)
sleep 1
click Button12
sleep 1
drag 100 100 200 200 # click (100,100), drag to (200,200), release mouse
sleep 1
quit
then
2007 Mar 16
0
5 commits - doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/swfdec_loader.c libswfdec/swfdec_player.c
...d>
+SwfdecLoaderClass
SWFDEC_LOADER
SWFDEC_IS_LOADER
SWFDEC_TYPE_LOADER
@@ -34,7 +38,6 @@ SWFDEC_LOADER_GET_CLASS
<SECTION>
<FILE>SwfdecPlayer</FILE>
<TITLE>SwfdecPlayer</TITLE>
-SwfdecMouseCursor
SwfdecPlayer
swfdec_init
swfdec_player_new
@@ -53,6 +56,7 @@ swfdec_player_handle_mouse
swfdec_player_render_audio
swfdec_player_get_audio
<SUBSECTION Standard>
+SwfdecPlayerClass
SWFDEC_PLAYER
SWFDEC_IS_PLAYER
SWFDEC_TYPE_PLAYER
@@ -86,3 +90,15 @@ swfdec_buffer_queue_pull_buffer
swfdec_buffer_queue_peek
</SECTION>
+<SECTION>
+<FILE>Enumerations</F...
2007 Mar 26
0
6 commits - doc/swfdec-sections.txt libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/swfdec_loader.c player/swfplay.c swfdec-gtk.pc.in
...on Mar 26 22:05:55 2007 +0200
s/swfdec_gtk_player_[gs]et_audio/&_enabled/
diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt
index f33b594..a6e2d96 100644
--- a/doc/swfdec-sections.txt
+++ b/doc/swfdec-sections.txt
@@ -57,7 +57,7 @@ swfdec_player_render
swfdec_player_advance
swfdec_player_handle_mouse
swfdec_player_render_audio
-swfdec_player_get_audio
+swfdec_player_get_audio_enabled
<SUBSECTION Standard>
SwfdecPlayerClass
SWFDEC_PLAYER
@@ -117,8 +117,8 @@ swfdec_gtk_player_get_playing
swfdec_gtk_player_set_playing
swfdec_gtk_player_get_speed
swfdec_gtk_player_set_speed
-swfdec_gtk...
2007 Feb 17
0
2 commits - doc/swfdec-sections.txt libswfdec/swfdec_color.h libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c
.../swfdec-sections.txt
+++ b/doc/swfdec-sections.txt
@@ -45,6 +45,8 @@ swfdec_player_is_initialized
swfdec_player_get_rate
swfdec_player_get_image_size
swfdec_player_get_next_event
+swfdec_player_get_background_color
+swfdec_player_set_background_color
swfdec_player_render
swfdec_player_advance
swfdec_player_handle_mouse
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index 2255771..a1b9660 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -1,5 +1,5 @@
/* Swfdec
- * Copyright (C) 2006 Benjamin Otte <otte@gnome.org>
+ * Copyright (C) 2006-2007 Benjamin Otte <otte@...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...idget.c
index e0ca455..6114e2c 100644
--- a/vivified/ui/vivi_widget.c
+++ b/vivified/ui/vivi_widget.c
@@ -102,12 +102,17 @@ vivi_widget_button_press (GtkWidget *gtkwidget, GdkEventButton *event)
vivi_widget_invalidate_click_area (debug);
debug->x = event->x;
debug->y = event->y;
- swfdec_player_handle_mouse (player, debug->x, debug->y, debug->button);
+ swfdec_player_mouse_move (player, debug->x, debug->y);
vivi_widget_invalidate_click_area (debug);
break;
case GDK_2BUTTON_PRESS:
debug->button = 1 - debug->button;
- swfdec_player_handle_mouse (player, debug->x, deb...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...1 && swfdec_gtk_widget_get_interactive (widget)) {
- SwfdecPlayer *player = swfdec_gtk_widget_get_player (widget);
- switch (event->type) {
- case GDK_BUTTON_PRESS:
- swfdec_debug_widget_invalidate_click_area (debug);
- debug->x = event->x;
- debug->y = event->y;
- swfdec_player_handle_mouse (player, debug->x, debug->y, debug->button);
- swfdec_debug_widget_invalidate_click_area (debug);
- break;
- case GDK_2BUTTON_PRESS:
- debug->button = 1 - debug->button;
- swfdec_player_handle_mouse (player, debug->x, debug->y, debug->button);
- swfdec_debug_widget_inva...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...dec-sections.txt
+++ b/doc/swfdec-sections.txt
@@ -57,6 +57,8 @@ swfdec_player_get_background_color
swfdec_player_set_background_color
swfdec_player_get_scale_mode
swfdec_player_set_scale_mode
+swfdec_player_get_alignment
+swfdec_player_set_alignment
swfdec_player_render
swfdec_player_advance
swfdec_player_handle_mouse
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index f5dafd6..cb45d3e 100644
--- a/libswfdec/swfdec_player.c
+++ b/libswfdec/swfdec_player.c
@@ -120,7 +120,7 @@
* @SWFDEC_SCALE_SHOW_ALL: Show the whole content as large as possible
* @SWFDEC_SCALE_NO_BORDER: Fill the whole ar...
2007 Aug 26
0
9 commits - libswfdec-gtk/swfdec_source.c libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_instance.c test/dump.c test/Makefile.am
...oid swfdec_player_get_image_size (SwfdecPlayer * player,
int * width,
@@ -107,7 +107,7 @@ void swfdec_player_render (SwfdecPlaye
double width,
double height);
void swfdec_player_advance (SwfdecPlayer * player,
- guint msecs);
+ gulong msecs);
gboolean swfdec_player_handle_mouse (SwfdecPlayer * player,
double x,
double y,
diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h
index 858c6eb..9153aae 100644
--- a/libswfdec/swfdec_player_internal.h
+++ b/libswfdec/swfdec_player_internal.h
@@ -125,7 +125,7 @@ struct _SwfdecPlaye...
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
...YPE_BOOLEAN, 2, G_TYPE_UINT, G_TYPE_BOOLEAN);
+ swfdec_accumulate_or, NULL, swfdec_marshal_BOOLEAN__UINT_UINT_BOOLEAN,
+ G_TYPE_BOOLEAN, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_BOOLEAN);
/**
* SwfdecPlayer::handle-mouse:
* @player: the #SwfdecPlayer affected
@@ -1657,23 +1657,25 @@ swfdec_player_handle_mouse (SwfdecPlayer
/**
* swfdec_player_key_press:
* @player: a #SwfdecPlayer
- * @key: the key that was pressed
+ * @keycode: the key that was pressed
+ * @character: UCS4 of the character that was inserted or 0 if none
*
* Call this function to make the @player react to a key press. Be sure to...
2007 Mar 29
0
Branch 'as' - 9 commits - configure.ac doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_stack.c
...SWFDEC_LIBVERSION="3:0:0"
AC_SUBST(SWFDEC_LIBVERSION)
AM_PROG_LIBTOOL
diff --git a/doc/swfdec-sections.txt b/doc/swfdec-sections.txt
index a6e2d96..3d270af 100644
--- a/doc/swfdec-sections.txt
+++ b/doc/swfdec-sections.txt
@@ -57,7 +57,7 @@ swfdec_player_render
swfdec_player_advance
swfdec_player_handle_mouse
swfdec_player_render_audio
-swfdec_player_get_audio_enabled
+swfdec_player_get_audio
<SUBSECTION Standard>
SwfdecPlayerClass
SWFDEC_PLAYER
@@ -73,7 +73,9 @@ SWFDEC_PLAYER_GET_CLASS
<FILE>SwfdecBuffer</FILE>
<TITLE>SwfdecBuffer</TITLE>
SwfdecBuffer
+SWFDEC_TYPE_B...