aboutsummaryrefslogtreecommitdiff
path: root/src/html_common.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-09-20 09:40:14 +0200
committerSebastian Geerken <devnull@localhost>2013-09-20 09:40:14 +0200
commitf815ca9e7f27a8fc4a8230413ecac8ad2b2e0621 (patch)
tree5810585bb4c5ddc256b7c42718581ea394a9036a /src/html_common.hh
parentfae1427770c3484970798e2e3f9f074f4af6599c (diff)
Added BrowserWindow and DilloURL (base URL) to StyleEngine::apply and related.
Diffstat (limited to 'src/html_common.hh')
-rw-r--r--src/html_common.hh14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/html_common.hh b/src/html_common.hh
index a2d13bf1..a43d91b7 100644
--- a/src/html_common.hh
+++ b/src/html_common.hh
@@ -220,17 +220,19 @@ public:
void addCssUrl(const DilloUrl *url);
// useful shortcuts
- inline void startElement (int tag) { styleEngine->startElement (tag); }
+ inline void startElement (int tag)
+ { styleEngine->startElement (tag, bw, base_url); }
inline void startElement (const char *tagname)
- { styleEngine->startElement (tagname); }
+ { styleEngine->startElement (tagname, bw, base_url); }
inline dw::core::style::Style *backgroundStyle ()
- { return styleEngine->backgroundStyle (); }
- inline dw::core::style::Style *style () { return styleEngine->style (); }
+ { return styleEngine->backgroundStyle (bw, base_url); }
+ inline dw::core::style::Style *style ()
+ { return styleEngine->style (bw, base_url); }
inline dw::core::style::Style *wordStyle ()
- { return styleEngine->wordStyle (); }
+ { return styleEngine->wordStyle (bw, base_url); }
- inline void restyle () { styleEngine->restyle (); }
+ inline void restyle () { styleEngine->restyle (bw, base_url); }
};