Displaying 2 results from an estimated 2 matches for "578427e".
Did you mean:
5738424e
2007 Jul 21
0
12 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/jpeg libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...4,6 +1743,7 @@ swfdec_player_set_size (SwfdecPlayer *pl
g_object_notify (G_OBJECT (player), "height");
}
g_object_thaw_notify (G_OBJECT (player));
+ swfdec_player_update_scale (player);
}
/**
diff --git a/libswfdec/swfdec_player.h b/libswfdec/swfdec_player.h
index b5f4c4b..578427e 100644
--- a/libswfdec/swfdec_player.h
+++ b/libswfdec/swfdec_player.h
@@ -49,7 +49,7 @@ typedef enum {
SWFDEC_SCALE_SHOW_ALL,
SWFDEC_SCALE_NO_BORDER,
SWFDEC_SCALE_EXACT_FIT,
- SWFDEC_SCALE_NO_SCALE
+ SWFDEC_SCALE_NONE
} SwfdecScaleMode;
typedef struct _SwfdecPlayer SwfdecPlayer;
dif...
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
...il (SWFDEC_IS_PLAYER (player));
+
+ if (player->scale_mode != mode) {
+ player->scale_mode = mode;
+ swfdec_player_update_scale (player);
+ g_object_notify (G_OBJECT (player), "scale-mode");
+ }
+}
+
diff --git a/libswfdec/swfdec_player.h b/libswfdec/swfdec_player.h
index 578427e..b6b451b 100644
--- a/libswfdec/swfdec_player.h
+++ b/libswfdec/swfdec_player.h
@@ -92,6 +92,9 @@ guint swfdec_player_get_background_colo
void swfdec_player_set_background_color
(SwfdecPlayer * player,
guint color);
+SwfdecScaleMode swfdec_player_get_scale_mode (SwfdecPlayer * p...