diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-06-10 22:00:12 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-06-10 22:00:12 +0000 |
commit | f69c024ecbef585bbd26ac90eb3a5e3de99fcf2d (patch) | |
tree | 12baf5e6f52edb7ff9e592cd2379d53f8158498c /render/layout.c | |
parent | 7fbb51d79903dffc26ca8f295cc770f83b6ad7ff (diff) | |
download | netsurf-f69c024ecbef585bbd26ac90eb3a5e3de99fcf2d.tar.gz netsurf-f69c024ecbef585bbd26ac90eb3a5e3de99fcf2d.tar.bz2 |
Add param and return details to layout_solve_width() comment.
svn path=/trunk/netsurf/; revision=4322
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/render/layout.c b/render/layout.c index 00f1a9629..4dd49ae3d 100644 --- a/render/layout.c +++ b/render/layout.c @@ -754,6 +754,16 @@ void layout_block_add_scrollbar(struct box *box, int which) /** * Solve the width constraint as given in CSS 2.1 section 10.3.3. + * + * \param available_width Max width available in pixels + * \param width Current box width + * \param margin[4] Current box margins. Updated with new box + * left / right margins + * \param padding[4] Current box paddings. Updated with new box + * left / right paddings + * \param border[4] Current box border widths. Updated to with new + * box left / right border widths + * \return New box width */ int layout_solve_width(int available_width, int width, |