diff options
author | Robert Staudinger <robsta@gnome.org> | 2008-12-01 19:54:32 +0100 |
---|---|---|
committer | Robert Staudinger <robsta@gnome.org> | 2008-12-01 19:54:32 +0100 |
commit | d2461c3f431027ff04c746b3371c7388c9df32cc (patch) | |
tree | 1b274560c18765e7562520ae6c8e2240822b8881 /examples | |
parent | d86f1de99649cdc86a673a4341391d33c025794c (diff) |
* ccss-cairo/ccss-background-parser.c (bg_image_parse),
(background_factory), (background_attachment_create),
(background_image_create), (background_position_create),
(background_repeat_create), (background_size_create):
* ccss-cairo/ccss-border-image-parser.c (border_image_create):
* ccss-cairo/ccss-border-parser.c (border_color_factory),
(border_style_factory), (border_width_factory),
(border_factory_impl), (border_factory), (border_left_factory),
(border_top_factory), (border_right_factory),
(border_bottom_factory), (border_radius_create),
(border_radius_factory), (border_style_create),
(border_width_create):
* ccss-cairo/ccss-color.c (ccss_color_parse), (ccss_color_create):
* ccss-cairo/ccss-color.h:
* ccss-cairo/ccss-image.c (ccss_image_parse):
* ccss-cairo/ccss-image.h:
* ccss-doc/tmpl/grammar.sgml:
* ccss-doc/tmpl/node.sgml:
* ccss-doc/tmpl/property.sgml:
* ccss-doc/tmpl/stylesheet.sgml:
* ccss/ccss-grammar-function.c (ccss_grammar_invoke_function):
* ccss/ccss-grammar-parse.c (property_cb),
(ccss_grammar_parse_file), (ccss_grammar_parse_buffer),
(ccss_grammar_parse_inline):
* ccss/ccss-grammar-priv.h:
* ccss/ccss-grammar.c (ccss_grammar_create_stylesheet_from_buffer),
(ccss_grammar_create_stylesheet_from_file):
* ccss/ccss-grammar.h:
* ccss/ccss-property-generic.c (property_create):
* ccss/ccss-property.h:
* ccss/ccss-stylesheet.c (ccss_stylesheet_add_from_file),
(query_node):
* ccss/ccss-stylesheet.h:
* examples/example-1.c (main):
* examples/example-2.c (main):
* examples/example-3.c (main):
* examples/example-4.c (main):
* examples/example-5.c (main):
Pass user-data to property- and function-handlers.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/example-1.c | 3 | ||||
-rw-r--r-- | examples/example-2.c | 3 | ||||
-rw-r--r-- | examples/example-3.c | 3 | ||||
-rw-r--r-- | examples/example-4.c | 3 | ||||
-rw-r--r-- | examples/example-5.c | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/examples/example-1.c b/examples/example-1.c index 34cc09e..548d14c 100644 --- a/examples/example-1.c +++ b/examples/example-1.c @@ -47,7 +47,8 @@ main (int argc, grammar = ccss_cairo_grammar_create (); stylesheet = ccss_grammar_create_stylesheet_from_buffer (grammar, - _css, sizeof (_css)); + _css, sizeof (_css), + NULL); style = ccss_style_create (); ret = ccss_stylesheet_query_type (stylesheet, "box", style); diff --git a/examples/example-2.c b/examples/example-2.c index 3331fc7..5bf438c 100644 --- a/examples/example-2.c +++ b/examples/example-2.c @@ -80,7 +80,8 @@ main (int argc, grammar = ccss_cairo_grammar_create (); stylesheet = ccss_grammar_create_stylesheet_from_buffer (grammar, - _css, sizeof (_css)); + _css, sizeof (_css), + NULL); ccss_node_init ((ccss_node_t *) &node, &_node_class); node.type_name = "box"; diff --git a/examples/example-3.c b/examples/example-3.c index 17e96de..6ba5715 100644 --- a/examples/example-3.c +++ b/examples/example-3.c @@ -71,7 +71,8 @@ main (int argc, grammar = ccss_cairo_grammar_create (); ccss_grammar_add_functions (grammar, _functions); stylesheet = ccss_grammar_create_stylesheet_from_buffer (grammar, - _css, sizeof (_css)); + _css, sizeof (_css), + NULL); style = ccss_style_create (); ret = ccss_stylesheet_query_type (stylesheet, "box", style); diff --git a/examples/example-4.c b/examples/example-4.c index 8331efb..f8183d7 100644 --- a/examples/example-4.c +++ b/examples/example-4.c @@ -137,7 +137,8 @@ main (int argc, grammar = ccss_cairo_grammar_create (); ccss_grammar_add_properties (grammar, _properties); stylesheet = ccss_grammar_create_stylesheet_from_buffer (grammar, - _css, sizeof (_css)); + _css, sizeof (_css), + NULL); style = ccss_style_create (); ret = ccss_stylesheet_query_type (stylesheet, "box", style); diff --git a/examples/example-5.c b/examples/example-5.c index e81fa5a..28b6def 100644 --- a/examples/example-5.c +++ b/examples/example-5.c @@ -71,7 +71,8 @@ main (int argc, grammar = ccss_cairo_grammar_create (); ccss_grammar_add_functions (grammar, _functions); stylesheet = ccss_grammar_create_stylesheet_from_buffer (grammar, - _css, sizeof (_css)); + _css, sizeof (_css), + NULL); style = ccss_style_create (); ret = ccss_stylesheet_query_type (stylesheet, "box", style); |