diff options
Diffstat (limited to 'src/html_common.hh')
-rw-r--r-- | src/html_common.hh | 14 |
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); } }; |