aboutsummaryrefslogtreecommitdiff
path: root/src/styleengine.hh
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-13 16:56:46 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-13 16:56:46 +0100
commit449246d881bc452f91b366ad94f87fc8b199bbb7 (patch)
treeb727b6cc84d7f9055b637bc4477bf89bbdc8815d /src/styleengine.hh
parentdfc9e510aedb52375da02a8776259d21ecf14587 (diff)
compute relative values
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r--src/styleengine.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/styleengine.hh b/src/styleengine.hh
index 76ca226c..3c9a7951 100644
--- a/src/styleengine.hh
+++ b/src/styleengine.hh
@@ -19,6 +19,8 @@ class StyleEngine : public Doctree {
dw::core::style::Style *style0 (CssPropertyList *nonCssProperties = NULL);
void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props);
+ int computeValue (int value, dw::core::style::Font *font);
+ void computeValues (dw::core::style::Box *box, dw::core::style::Font *font);
public:
StyleEngine (dw::core::Layout *layout);