search for: scroll_chang

Displaying 6 results from an estimated 6 matches for "scroll_chang".

Did you mean: scroll_changed
2007 Nov 07
0
2 commits - libswfdec/swfdec_resource.c libswfdec/swfdec_text_field_movie.c
...linenum >= MIN (text_movie->scroll, text_movie->scroll_max)) { cairo_rel_move_to (cr, 0, layout->height - skipped); y += layout->height - skipped; skipped = 0; @@ -917,10 +924,9 @@ swfdec_text_field_movie_update_scroll (SwfdecTextFieldMovie *text, text->scroll_changed = TRUE; } } else { - if (text->scroll_bottom != MAX (CLAMP(text->scroll, 1, text->scroll_max) + - (visible > 0 ? visible - 1 : 0), text->scroll)) { - text->scroll_bottom = MAX (CLAMP(text->scroll, 1, text->scroll_max) + - (visible > 0 ? visible - 1...
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
...t, swfdec_text_field_movie_free_layouts (layouts); layouts = NULL; - text->scroll_max = all - visible + 1; - text->hscroll_max = SWFDEC_TWIPS_TO_DOUBLE (width_max - width); + if (text->scroll_max != all - visible + 1) { + text->scroll_max = all - visible + 1; + text->scroll_changed = TRUE; + } + if (text->hscroll_max != SWFDEC_TWIPS_TO_DOUBLE (width_max - width)) { + text->hscroll_max = SWFDEC_TWIPS_TO_DOUBLE (width_max - width); + text->scroll_changed = TRUE; + } if (check_limits) { - text->scroll = CLAMP(text->scroll, 1, text->scroll_max...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...der_color = color; - swfdec_movie_invalidate (SWFDEC_MOVIE (text)); + swfdec_movie_invalidate_last (SWFDEC_MOVIE (text)); } } @@ -615,7 +615,7 @@ swfdec_text_field_movie_do_set_hscroll (SwfdecAsContext *cx, if (value != text->hscroll) { text->hscroll = value; text->scroll_changed = TRUE; - swfdec_movie_invalidate (SWFDEC_MOVIE (text)); + swfdec_movie_invalidate_last (SWFDEC_MOVIE (text)); } } @@ -701,7 +701,7 @@ swfdec_text_field_movie_do_set_scroll (SwfdecAsContext *cx, text->scroll_bottom += value - text->scroll; text->scroll = value;...
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
...+++ b/libswfdec/swfdec_text_field_movie.h @@ -90,7 +90,9 @@ struct _SwfdecTextFieldMovie { gboolean condense_white; gboolean embed_fonts; + SwfdecStyleSheet * style_sheet; + const char * style_sheet_input; /* saved input, so it can be used to apply stylesheet again */ gboolean scroll_changed; /* if any of the scroll attributes have changed and we haven't fired the event yet */ int scroll; diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c index 86ca221..f5ae979 100644 --- a/libswfdec/swfdec_text_field_movie_as.c +++ b/libswfdec/swfde...
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
...eld_movie.h @@ -91,7 +91,7 @@ struct _SwfdecTextFieldMovie { gboolean condense_white; gboolean embed_fonts; - SwfdecStyleSheet * style_sheet; + SwfdecAsObject * style_sheet; const char * style_sheet_input; /* saved input, so it can be used to apply stylesheet again */ gboolean scroll_changed; /* if any of the scroll attributes have changed and we haven't fired the event yet */ diff --git a/libswfdec/swfdec_text_field_movie_as.c b/libswfdec/swfdec_text_field_movie_as.c index 35ef7a5..446401f 100644 --- a/libswfdec/swfdec_text_field_movie_as.c +++ b/libswfdec/swfdec_text_field_movi...
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
...ller diff --git a/libswfdec/swfdec_text_field_movie.c b/libswfdec/swfdec_text_field_movie.c index 214b345..8f8af44 100644 --- a/libswfdec/swfdec_text_field_movie.c +++ b/libswfdec/swfdec_text_field_movie.c @@ -1198,11 +1198,15 @@ swfdec_text_field_movie_iterate (SwfdecMovie *movie) if (text->scroll_changed) { SwfdecAsValue argv[2]; + SWFDEC_FIXME ("I'm pretty sure this is swfdec_player_add_action()'d"); SWFDEC_AS_VALUE_SET_STRING (&argv[0], SWFDEC_AS_STR_onScroller); SWFDEC_AS_VALUE_SET_OBJECT (&argv[1], SWFDEC_AS_OBJECT (movie)); + swfdec_sandbox_us...