[metacity/cowbell] doc



commit 784fdc9d4f3d5fc44103b41ad6e5a670b01a302e
Author: Thomas Thurman <tthurman gnome org>
Date:   Mon Oct 19 11:30:23 2009 -0400

    doc

 src/ui/theme.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 383f8de..46ba838 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -571,6 +571,17 @@ meta_theme_draw_frame_with_style (MetaTheme              *theme,
   cairo_destroy (cr);
 }
 
+/**
+ * Finds the size of the edges (optionally padding, borders, and margins) of
+ * an element with a given CSS style.
+ *
+ * \param style  The style.
+ * \param ignore_padding  Whether to ignore padding in the calculation.
+ * \param top    Receives the size of the top edge.
+ * \param bottom Receives the size of the bottom edge.
+ * \param left   Receives the size of the left edge.
+ * \param right  Receives the size of the right edge.
+ */
 static void
 cowbell_get_edge_sizes (ccss_style_t *style,
                         gboolean ignore_padding,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]