search for: bgcolor_set

Displaying 15 results from an estimated 15 matches for "bgcolor_set".

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
...+ * Sets a new background color as an ARGB value. To get transparency, set the + * value to 0. To get a black beackground, use 0xFF000000. + **/ +void +swfdec_player_set_background_color (SwfdecPlayer *player, unsigned int color) +{ + g_return_if_fail (SWFDEC_IS_PLAYER (player)); + + player->bgcolor_set = TRUE; + if (player->bgcolor == color) + return; + g_object_notify (G_OBJECT (player), "background-color"); + if (swfdec_player_is_initialized (player)) { + g_signal_emit (player, signals[INVALIDATE], 0, 0.0, 0.0, + (double) player->width, (double) player->height); +...
2007 Aug 20
2
libswfdec/swfdec_player.c
libswfdec/swfdec_player.c | 1 - 1 file changed, 1 deletion(-) New commits: diff-tree fd36de2f156ce685d5095aaf323e0766ea017bd7 (from c3b035ca1583a420402b965506129bd73ff3f5fe) Author: Benjamin Otte <otte at gnome.org> Date: Mon Aug 20 16:02:09 2007 +0200 no need for that header diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c index b303408..cd58cf5 100644 ---
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...player->priv->bgcolor; } /** @@ -2606,16 +2678,19 @@ swfdec_player_get_background_color (SwfdecPlayer *player) void swfdec_player_set_background_color (SwfdecPlayer *player, guint color) { + SwfdecPlayerPrivate *priv; + g_return_if_fail (SWFDEC_IS_PLAYER (player)); - player->bgcolor_set = TRUE; - if (player->bgcolor == color) + priv = player->priv; + priv->bgcolor_set = TRUE; + if (priv->bgcolor == color) return; - player->bgcolor = color; + priv->bgcolor = color; g_object_notify (G_OBJECT (player), "background-color"); if (swfdec_playe...
2007 Nov 08
0
libswfdec/swfdec_load_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h
...he root movies */ - GList * load_objects; /* all the load objects */ + GList * rooted_objects; /* all the objects we keep track of */ GSList * resource_requests; /* all external requested URIs - see swfdec_resource_request.[ch] */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ @@ -161,6 +161,10 @@ void swfdec_player_unlock (SwfdecPlayer * player); void swfdec_player_unlock_soft (SwfdecPlayer * player); void swfdec_player_perform_actions (SwfdecPlayer * player); +void swfdec_player_root_object (SwfdecPlayer *...
2007 Nov 01
0
3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...uint height; /* height of movie */ GList * roots; /* all the root movies */ GList * load_objects; /* all the load objects */ + GSList * resource_requests; /* all external requested URIs - see swfdec_resource_request.[ch] */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ @@ -201,19 +202,21 @@ void swfdec_player_stop_sounds (SwfdecPlayer * player, SwfdecAudioRemoveFunc func, gpointer data); void swfdec_player_stop_all_sounds (SwfdecPlayer * player...
2007 Apr 13
0
5 commits - libswfdec/Makefile.am libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_font.c libswfdec/swfdec_loadertarget.c libswfdec/swfdec_movie.h libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_player.c
...if width and height are set already */ + guint rate; /* divide by 256 to get iterations per second */ + guint width; /* width of movie */ + guint height; /* height of movie */ GList * roots; /* all the root movies */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ diff --git a/libswfdec/swfdec_swf_decoder.c b/libswfdec/swfdec_swf_decoder.c index 97f6965..f8a34b1 100644 --- a/libswfdec/swfdec_swf_decoder.c +++ b/libswfdec/swfdec_swf_decoder.c @@ -194,9 +194,11 @@ swf_parse_header2 (SwfdecSwfDecoder * s) s...
2007 Aug 18
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...layer_internal.h @@ -56,6 +56,7 @@ struct _SwfdecPlayer guint width; /* width of movie */ guint height; /* height of movie */ GList * roots; /* all the root movies */ + GList * load_objects; /* all the load objects */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c deleted file mode 100644 index c418ca4..0000000 --- a/libswfdec/swfdec_xml.c +++ /dev/null @@ -1,177 +0,0 @@ -/* Swfdec - * Copyright (C) 2...
2007 Mar 01
0
11 commits - libswfdec/Makefile.am libswfdec/swfdec_connection.c libswfdec/swfdec_connection.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js_connection.c libswfdec/swfdec_js.h libswfdec/swfdec_js_net_stream.c
...; } diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index 2e63b78..6d40273 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -49,6 +49,7 @@ struct _SwfdecPlayer SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ + SwfdecLoader * loader; /* initial loader */ /* javascript */ JSContext * jscx; /* global Javascript context */ @@ -139,6 +140,8 @@ SwfdecRootMovie * swfdec_player_add_leve cons...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
...nsigned int height; /* height of movie */ + guint rate; /* divide by 256 to get iterations per second */ + guint width; /* width of movie */ + guint height; /* height of movie */ GList * roots; /* all the root movies */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ @@ -54,7 +54,7 @@ struct _SwfdecPlayer /* javascript */ JSContext * jscx; /* global Javascript context */ JSObject * jsobj; /* the global object */ - unsigned int interval_id; /* id returned from setInterval call */ + guint inter...
2007 Dec 23
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_character.c libswfdec/swfdec_external_interface.c libswfdec/swfdec.h libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...o.h> #include <libswfdec/swfdec_event.h> +#include <libswfdec/swfdec_player_scripting.h> #include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_ringbuffer.h> #include <libswfdec/swfdec_security.h> @@ -66,6 +67,7 @@ struct _SwfdecPlayerPrivate gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ SwfdecResource * resource; /* initial resource loaded */ + SwfdecPlayerScripting *scripting; /* scripting object */ /* stage properties */ guint internal_width; /* width used by the scr...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js 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_function.c
...nsigned int height; /* height of movie */ + guint rate; /* divide by 256 to get iterations per second */ + guint width; /* width of movie */ + guint height; /* height of movie */ GList * roots; /* all the root movies */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ @@ -54,7 +54,7 @@ struct _SwfdecPlayer /* javascript */ JSContext * jscx; /* global Javascript context */ JSObject * jsobj; /* the global object */ - unsigned int interval_id; /* id returned from setInterval call */ + guint inter...
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...25,7 @@ #include <libswfdec/swfdec_audio.h> #include <libswfdec/swfdec_rect.h> #include <libswfdec/swfdec_ringbuffer.h> +#include <libswfdec/swfdec_security.h> #include <libswfdec/swfdec_system.h> G_BEGIN_DECLS @@ -62,6 +63,7 @@ struct _SwfdecPlayer gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ SwfdecLoader * loader; /* initial loader */ + SwfdecSecurity * security; /* the default security */ /* stage properties */ guint internal_width; /* width used by the scripting engine *...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
.../** diff --git a/libswfdec/swfdec_player_internal.h b/libswfdec/swfdec_player_internal.h index afaebeb..483d487 100644 --- a/libswfdec/swfdec_player_internal.h +++ b/libswfdec/swfdec_player_internal.h @@ -62,8 +62,7 @@ struct _SwfdecPlayer SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ - SwfdecLoader * loader; /* initial loader */ - SwfdecSecurity * security; /* the default security */ + SwfdecResource * resource; /* initial resource loaded */ /* stage properties */ gui...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...layer_internal.h @@ -56,6 +56,7 @@ struct _SwfdecPlayer guint width; /* width of movie */ guint height; /* height of movie */ GList * roots; /* all the root movies */ + GList * load_objects; /* all the load objects */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ SwfdecColor bgcolor; /* background color */ diff --git a/libswfdec/swfdec_xml.c b/libswfdec/swfdec_xml.c deleted file mode 100644 index c418ca4..0000000 --- a/libswfdec/swfdec_xml.c +++ /dev/null @@ -1,177 +0,0 @@ -/* Swfdec - * Copyright (C) 2...
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
.../* height of movie */ GList * roots; /* all the root movies */ - GList * rooted_objects; /* all the objects we keep track of */ GSList * resource_requests; /* all external requested URIs - see swfdec_resource_request.[ch] */ SwfdecCache * cache; /* player cache */ gboolean bgcolor_set; /* TRUE if the background color has been set */ @@ -86,6 +86,7 @@ struct _SwfdecPlayerPrivate guint unnamed_count; /* variable used for naming unnamed movies */ /* ActionScript */ + SwfdecFunctionList rooted; /* all the objects we keep track of */ guint interval_id; /* id re...