summaryrefslogtreecommitdiff
path: root/src/cr-style.h
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-02-07 22:46:53 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-02-07 22:46:53 +0000
commitb4b0cb746513170579d6fe7450fb6cb555cb73b8 (patch)
tree8fcd69a334101b3f1694e95b3885026e8e11cfd5 /src/cr-style.h
parentb10c9b189723585325dee43719540a34f7269ceb (diff)
downloadlibcroco-b4b0cb746513170579d6fe7450fb6cb555cb73b8.tar.gz
In the process of adding style structure debugging facilities.
2004-02-07 Dodji Seketeli <dodji@gnome.org> * src/cr-fonts.[hc],src/cr-num.h,src/cr-style.[ch]: In the process of adding style structure debugging facilities.
Diffstat (limited to 'src/cr-style.h')
-rw-r--r--src/cr-style.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/src/cr-style.h b/src/cr-style.h
index b0f9035..54f49eb 100644
--- a/src/cr-style.h
+++ b/src/cr-style.h
@@ -205,7 +205,7 @@ enum CRBoxOffsetProp
/**
*The css2 style class.
*Contains computed and actual values
- *of inferred from the declarations found
+ *inferred from the declarations found
*in the stylesheets.
*See css2 spec chapter 6.
*/
@@ -258,7 +258,29 @@ struct _CRStyle
gulong ref_count ;
} ;
+enum CRStatus cr_style_num_prop_val_to_string (CRNumPropVal *a_prop_val,
+ GString *a_str,
+ guint a_nb_indent) ;
+enum CRStatus cr_style_rgb_prop_val_to_string (CRRgbPropVal *a_prop_val,
+ GString *a_str,
+ guint a_nb_indent) ;
+
+enum CRStatus cr_style_border_style_to_string (enum CRBorderStyle a_prop,
+ GString *a_str,
+ guint a_nb_indent) ;
+
+enum CRStatus cr_style_display_type_to_string (enum CRDisplayType a_code,
+ GString *a_str,
+ guint a_nb_indent) ;
+
+enum CRStatus cr_style_position_type_to_string (enum CRPositionType a_code,
+ GString *a_str,
+ guint a_nb_indent) ;
+
+enum CRStatus cr_style_float_type_to_string (enum CRFloatType a_code,
+ GString *a_str,
+ guint a_nb_indent) ;
CRStyle * cr_style_new (void) ;
enum CRStatus cr_style_set_props_to_defaults (CRStyle *a_this) ;
@@ -276,6 +298,10 @@ void cr_style_destroy (CRStyle *a_this) ;
CRStyle * cr_style_dup (CRStyle *a_this) ;
+enum CRStatus cr_style_to_string (CRStyle *a_this,
+ GString **a_str,
+ guint a_nb_indent) ;
+
G_END_DECLS
#endif /*__CR_STYLE_H__*/