Displaying 5 results from an estimated 5 matches for "has_font".
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
...+337,8 @@ tag_func_define_edit_text (SwfdecSwfDeco
reserved = swfdec_bits_getbit (b);
text->html = swfdec_bits_getbit (b);
text->embed_fonts = swfdec_bits_getbit (b);
+ if (text->embed_fonts)
+ SWFDEC_FIXME ("Using embed fonts in TextField is not supported");
if (has_font) {
SwfdecCharacter *font;
diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c
index 2827961..21e9a79 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -108,7 +108,7 @@ swfdec_text_field_movie_generate_paragra
G...
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
...bswfdec/swfdec_edittext.c
index 37727eb..151feb2 100644
--- a/libswfdec/swfdec_edittext.c
+++ b/libswfdec/swfdec_edittext.c
@@ -97,7 +97,7 @@ int
tag_func_define_edit_text (SwfdecSwfDecoder * s)
{
SwfdecEditText *text;
- unsigned int id;
+ guint id;
int reserved, use_outlines;
gboolean has_font, has_color, has_max_length, has_layout, has_text;
SwfdecBits *b = &s->b;
@@ -154,7 +154,7 @@ tag_func_define_edit_text (SwfdecSwfDeco
text->max_length = swfdec_bits_get_u16 (b);
}
if (has_layout) {
- unsigned int align = swfdec_bits_get_u8 (b);
+ guint align = swfdec_b...
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
...bswfdec/swfdec_edittext.c
index 37727eb..151feb2 100644
--- a/libswfdec/swfdec_edittext.c
+++ b/libswfdec/swfdec_edittext.c
@@ -97,7 +97,7 @@ int
tag_func_define_edit_text (SwfdecSwfDecoder * s)
{
SwfdecEditText *text;
- unsigned int id;
+ guint id;
int reserved, use_outlines;
gboolean has_font, has_color, has_max_length, has_layout, has_text;
SwfdecBits *b = &s->b;
@@ -154,7 +154,7 @@ tag_func_define_edit_text (SwfdecSwfDeco
text->max_length = swfdec_bits_get_u16 (b);
}
if (has_layout) {
- unsigned int align = swfdec_bits_get_u8 (b);
+ guint align = swfdec_b...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...= swfdec_bits_getbit (b);
text->multiline = swfdec_bits_getbit (b);
text->password = swfdec_bits_getbit (b);
- text->input = !swfdec_bits_getbit (b);
+ text->editable = !swfdec_bits_getbit (b);
has_color = swfdec_bits_getbit (b);
has_max_length = swfdec_bits_getbit (b);
has_font = swfdec_bits_getbit (b);
diff --git a/libswfdec/swfdec_text_field.h b/libswfdec/swfdec_text_field.h
index cdbe1ec..0ecf9bf 100644
--- a/libswfdec/swfdec_text_field.h
+++ b/libswfdec/swfdec_text_field.h
@@ -52,7 +52,7 @@ struct _SwfdecTextField
gboolean html;
- gboolean input;
+ gboolean...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...);
text->multiline = swfdec_bits_getbit (b);
@@ -128,6 +130,7 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag)
text->embed_fonts = swfdec_bits_getbit (b);
if (text->embed_fonts)
SWFDEC_FIXME ("Using embed fonts in TextField is not supported");
+
if (has_font) {
SwfdecCharacter *font;
@@ -142,6 +145,7 @@ tag_func_define_edit_text (SwfdecSwfDecoder * s, guint tag)
text->size = swfdec_bits_get_u16 (b);
SWFDEC_LOG (" size = %u", text->size);
}
+
if (has_color) {
text->color = swfdec_bits_get_rgba (b);
SW...