Displaying 5 results from an estimated 5 matches for "restrict_".
Did you mean:
restrict
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
...*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->style_sheet_input != NULL)
+ swfdec_as_string_mark (text->style_sheet_input);
if (text->restrict_ != NULL)
swfdec_as_string_mark (text->restrict_);
@@ -1551,6 +1553,11 @@ swfdec_text_field_movie_replace_text (SwfdecTextFieldMovie *text,
g_return_if_fail (start_index <= end_index);
g_return_if_fail (str != NULL);
+ /* if there was a style sheet set when setting the text, mo...
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
...t_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 (SwfdecTextFieldMovie * movie,
const char * str,
gboolean html);
-void swfdec_text_field_movie_changed (SwfdecTextFieldMovie * text);
+gboolean swfdec_text_field_mo...
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
...+56,9 @@ struct _SwfdecTextFieldMovie {
SwfdecTextFormat * format_new;
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,...
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
...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_init (SwfdecTextFieldMovie *text)
{
text->surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,...
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
...T (text->format_new));
if (text->style_sheet != NULL)
- swfdec_as_object_mark (SWFDEC_AS_OBJECT (text->style_sheet));
+ swfdec_as_object_mark (text->style_sheet);
if (text->style_sheet_input != NULL)
swfdec_as_string_mark (text->style_sheet_input);
if (text->restrict_ != NULL)
@@ -1645,7 +1647,7 @@ swfdec_text_field_movie_set_text (SwfdecTextFieldMovie *text, const char *str,
text->input_html = html;
- if (text->style_sheet) {
+ if (text->style_sheet != NULL && SWFDEC_IS_STYLESHEET (text->style_sheet)) {
text->style_sheet_inp...