diff options
author | Dodji Seketeli <dodji@src.gnome.org> | 2003-03-13 22:30:40 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@src.gnome.org> | 2003-03-13 22:30:40 +0000 |
commit | da99490f35d844310a3411561e76bb2cd214ff62 (patch) | |
tree | 012a8bffb7f6f63ebf85360b698c4d30c7ed12d7 /src | |
parent | 2c33322914fccb3a2f2eee55b93b7de6bf12b2c2 (diff) | |
download | libcroco-da99490f35d844310a3411561e76bb2cd214ff62.tar.gz |
started what will the code to build the document annotated tree.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/cr-box.c | 6 | ||||
-rw-r--r-- | src/cr-style.h | 12 |
3 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 83902bd..8f20b4b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,6 +25,7 @@ libcroco_la_SOURCES= \ cr-stylesheet.c \ cr-om-parser.c \ cr-sel-eng.c \ + cr-style.c \ cr-box.c \ *.h diff --git a/src/cr-box.c b/src/cr-box.c index 8e229a7..f2dd7b2 100644 --- a/src/cr-box.c +++ b/src/cr-box.c @@ -31,6 +31,12 @@ #include <string.h> #include "cr-box.h" + +/** + *@file + *The definition file of the #CRBox class. + */ + /** *Instanciates a new box. *Everything is initialized to zero in it. diff --git a/src/cr-style.h b/src/cr-style.h index 4ec55c2..e70628f 100644 --- a/src/cr-style.h +++ b/src/cr-style.h @@ -27,6 +27,7 @@ #define __CR_STYLE_H__ #include "cr-utils.h" +#include "cr-statement.h" /** *@file @@ -162,6 +163,17 @@ struct _CRStyle CRLength width ; } ; + +CRStyle * +cr_style_new (void) ; + +enum CRStatus +cr_style_new_from_ruleset (CRStatement *a_this, + CRStyle **a_style) ; + +void +cr_style_destroy (CRStyle *a_this) ; + G_END_DECLS #endif /*__CR_STYLE_H__*/ |