Displaying 10 results from an estimated 10 matches for "style_sheet".
2008 Jan 19
0
5 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_loader.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c test/swfdec_test_test.c
libswfdec/swfdec_as_object.c | 3 +++
libswfdec/swfdec_loader.c | 8 +-------
libswfdec/swfdec_style_sheet.c | 3 ++-
libswfdec/swfdec_text_field_movie.c | 12 ++++++------
libswfdec/swfdec_text_field_movie_as.c | 4 ++++
test/swfdec_test_test.c | 1 +
6 files changed, 17 insertions(+), 14 deletions(-)
New commits:
commit 2ddba438108342502c59bc4f09d96118a59b5e33
Aut...
2007 Oct 23
0
9 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h
libswfdec/swfdec_as_strings.c | 2 +
libswfdec/swfdec_html_parser.c | 41 ++++++++++++++++++++---
libswfdec/swfdec_style_sheet.c | 47 +++++++++++++++++++++++++++
libswfdec/swfdec_style_sheet.h | 6 +++
libswfdec/swfdec_text_field_movie.c | 24 +++++++++++--
libswfdec/swfdec_text_field_movie.h | 2 +
libswfdec/swfdec_text_field_movie_as.c | 57 ++++++++++++++++++++++++++++-----
libswfdec/s...
2007 Oct 23
0
11 commits - libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_style_sheet.c libswfdec/swfdec_style_sheet.h
libswfdec/swfdec_as_internal.h | 4
libswfdec/swfdec_as_object.c | 25
libswfdec/swfdec_html_parser.c | 6
libswfdec/swfdec_initialize.as | 7
libswfdec/swfdec_initialize.h | 920 +++++++++++++++----------------
libswfdec/swfdec_style_sheet.c | 71 ++
libswfdec/swfdec_style_sheet.h | 8
libswfdec/swfdec_text_field_movie.c | 18
libswfdec/swfdec_text_field_movie.h | 2
libswfdec/swfdec_text_field_movie_as.c | 117 +--
libswfdec/swfdec_text_format.c | 63 --
libswfdec/swfdec_xml....
2007 Nov 04
0
7 commits - libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h libswfdec/swfdec_text_field_movie_html.c
...text_field_movie.c
@@ -891,6 +891,12 @@ swfdec_text_field_movie_dispose (GObject *object)
text = SWFDEC_TEXT_FIELD_MOVIE (object);
+ if (text->asterisks != NULL) {
+ g_free (text->asterisks);
+ text->asterisks = NULL;
+ text->asterisks_length = 0;
+ }
+
if (text->style_sheet) {
if (SWFDEC_IS_STYLESHEET (text->style_sheet)) {
swfdec_style_sheet_remove_listener (
commit 225b62e13bc7fdc40177448c9e2f5f74adfd8ae4
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Sat Nov 3 15:39:45 2007 +0200
Stop iterating in TextField's render method whe...
2007 Nov 01
0
libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie_html.c
...set_variable (object, SWFDEC_AS_STR_underline, &val);
+ }
+ else if (tag->name_length == 3 && !g_strncasecmp (tag->name, "img", 3))
+ {
+ SWFDEC_FIXME ("IMG tag support for TextField's HTML input missing");
+ }
}
if (data->style_sheet &&
@@ -478,7 +482,7 @@ swfdec_text_field_movie_html_parse (SwfdecTextFieldMovie *text, const char *str)
while (data.tags_closed != NULL) {
ParserTag *tag = (ParserTag *)data.tags_closed->data;
- if (tag->index != tag->end_index) {
+ if (tag->index != tag->end_...
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
...swfdec_as_object_set_variable (object, SWFDEC_AS_STR_underline, &val);
+ } else if (tag->name_length == 3 && !g_strncasecmp (tag->name, "img", 3)) {
+ SWFDEC_FIXME ("IMG tag support for TextField's HTML input missing");
+ }
- if (data->style_sheet &&
- ((tag->name_length == 2 && !g_strncasecmp (tag->name, "li", 2)) ||
- (tag->name_length == 1 && !g_strncasecmp (tag->name, "p", 1)))) {
- SwfdecTextFormat *format = swfdec_style_sheet_get_tag_format (
- data->style_sheet, swfdec...
2007 Oct 18
0
11 commits - libswfdec/swfdec_as_strings.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
...e_update_scroll (text);
}
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index f862c0b..56c81cb 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -93,7 +93,10 @@ struct _SwfdecTextFieldMovie {
SwfdecStyleSheet * style_sheet;
int scroll;
+ int scroll_max;
+ int scroll_bottom;
int hscroll;
+ int hscroll_max;
gboolean mouse_wheel_enabled;
const char * restrict_;
@@ -116,20 +119,12 @@ GType swfdec_text_field_movie_get_type (void);
void swfdec_text_field_movie_set_text (SwfdecTextFieldMo...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...;
GSList * formats;
- SwfdecAntiAliasType anti_alias_type;
gboolean condense_white;
gboolean embed_fonts;
- SwfdecGridFitType grid_fit_type;
- guint hscroll;
- gboolean mouse_wheel_enabled;
- const char * restrict_;
- guint scroll;
- int sharpness;
SwfdecStyleSheet * style_sheet;
- int thickness;
SwfdecColor border_color;
SwfdecColor background_color;
@@ -100,6 +81,8 @@ void swfdec_text_field_movie_set_text_format (SwfdecTextFieldMovie * text,
SwfdecTextFormat * format,
guint start_index,
guint end_index);
+void swfdec_text_fie...
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
...}
diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie.h
index 058d915..70ddb4f 100644
--- a/libswfdec/swfdec_text_field_movie.h
+++ b/libswfdec/swfdec_text_field_movie.h
@@ -92,6 +92,7 @@ struct _SwfdecTextFieldMovie {
gboolean embed_fonts;
SwfdecStyleSheet * style_sheet;
+ gboolean scroll_changed; /* if any of the scroll attributes have changed and we haven't fired the event yet */
int scroll;
int scroll_max;
int scroll_bottom;
diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c
index 4235111..75770bb...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...ec/swfdec_text_field_movie.c
index 4f238b7..dbdf4fc 100644
--- a/libswfdec/swfdec_text_field_movie.c
+++ b/libswfdec/swfdec_text_field_movie.c
@@ -561,6 +561,8 @@ swfdec_text_field_movie_mark (SwfdecAsObject *object)
swfdec_as_object_mark (SWFDEC_AS_OBJECT (text->format_new));
if (text->style_sheet != NULL)
swfdec_as_object_mark (SWFDEC_AS_OBJECT (text->style_sheet));
+ if (text->restrict_ != NULL)
+ swfdec_as_string_mark (text->restrict_);
SWFDEC_AS_OBJECT_CLASS (swfdec_text_field_movie_parent_class)->mark (object);
}
@@ -646,6 +648,8 @@ swfdec_text_field_movie_ini...