diff src/styleengine.hh @ 1039:4ed33b76809c

wrap long lines in src/ css code
author corvid <corvid@lavabit.com>
date Sun, 19 Apr 2009 10:25:22 +0200
parents 474b9814a8fa
children a913df1621ac
line wrap: on
line diff
--- a/src/styleengine.hh	Sat Apr 18 21:17:10 2009 -0400
+++ b/src/styleengine.hh	Sun Apr 19 10:25:22 2009 +0200
@@ -27,9 +27,10 @@
       dw::core::style::Style *style0 (CssPropertyList *nonCssHints = NULL);
       dw::core::style::Style *wordStyle0 (CssPropertyList *nonCssHints = NULL);
       void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props);
-      bool computeValue (int *dest, CssLength value, dw::core::style::Font *font);
-      bool computeValue (int *dest, CssLength value, dw::core::style::Font *font,
-                         int percentageBase);
+      bool computeValue (int *dest, CssLength value,
+                         dw::core::style::Font *font);
+      bool computeValue (int *dest, CssLength value,
+                         dw::core::style::Font *font, int percentageBase);
       bool computeLength (dw::core::style::Length *dest, CssLength value,
                           dw::core::style::Font *font);
 
@@ -49,7 +50,8 @@
             return NULL;
       };
 
-      void parse (DilloHtml *html, DilloUrl *url, const char *buf, int buflen, CssOrigin origin);
+      void parse (DilloHtml *html, DilloUrl *url, const char *buf, int buflen,
+                  CssOrigin origin);
       void startElement (int tag);
       void startElement (const char *tagname);
       void setId (const char *id);
@@ -72,7 +74,7 @@
       };
 
       inline dw::core::style::Style *wordStyle () {
-         dw::core::style::Style *s = stack->getRef (stack->size () - 1)->wordStyle;
+         dw::core::style::Style *s = stack->getRef(stack->size()-1)->wordStyle;
          if (s)
             return s;
          else