search for: swfdec_player_mouse_press

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

2007 Dec 17
0
2 commits - doc/Makefile.am doc/swfdec-sections.txt NEWS
...ions.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 Standard> +SwfdecPlayerPrivate SwfdecPlayerClass SWFDEC...
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
...); vivi_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); + debug->x = event->x; + debug->y = event->y; + if (debug->button) + swfdec_player_mouse_press (player, debug->x, debug->y, 1); + else + swfdec_player_mouse_release (player, debug->x, debug->y, 1); vivi_widget_invalidate_click_area (debug); break; default: commit a82b6bcfb6cda2f6cf2441f72eed8f74933dc164 Author: Benjamin Otte <otte at gnome.org> Date: Thu Nov...
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
...alue *argv, SwfdecAsValue *retval) +{ + SwfdecTestTest *test; + double x, y; + int button; + + SWFDEC_AS_CHECK (SWFDEC_TYPE_TEST_TEST, &test, "nn|i", &x, &y, &button); + + if (!swfdec_test_test_ensure_player (test)) + return; + + button = CLAMP (button, 1, 32); + swfdec_player_mouse_press (test->player, x, y, button); +} + +SWFDEC_TEST_FUNCTION ("Test_mouse_release", swfdec_test_test_mouse_release, 0) +void +swfdec_test_test_mouse_release (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, + SwfdecAsValue *argv, SwfdecAsValue *retval) +{ + SwfdecTestTest *test...