summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-03-13 22:30:40 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-03-13 22:30:40 +0000
commitda99490f35d844310a3411561e76bb2cd214ff62 (patch)
tree012a8bffb7f6f63ebf85360b698c4d30c7ed12d7
parent2c33322914fccb3a2f2eee55b93b7de6bf12b2c2 (diff)
downloadlibcroco-da99490f35d844310a3411561e76bb2cd214ff62.tar.gz
started what will the code to build the document annotated tree.
-rw-r--r--TODO6
-rw-r--r--src/Makefile.am1
-rw-r--r--src/cr-box.c6
-rw-r--r--src/cr-style.h12
4 files changed, 20 insertions, 5 deletions
diff --git a/TODO b/TODO
index f2532f1..d41661b 100644
--- a/TODO
+++ b/TODO
@@ -1,11 +1,7 @@
*coding:)
- Test and debug the selectors evaluation functionalities contained
- in the new cr-sel-eng.[ch] (boring but highly critical and usefull).
-
- Continue the testing of the css2 parsing using the test4 test.
- The test4 test justs reads a css2 stylesheets and dumps it on stdout.
+Code the cr_style_new_from_ruleset() fonction.
*Doc:)
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__*/