diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 16:56:46 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-11-13 16:56:46 +0100 |
commit | 449246d881bc452f91b366ad94f87fc8b199bbb7 (patch) | |
tree | b727b6cc84d7f9055b637bc4477bf89bbdc8815d /src/styleengine.hh | |
parent | dfc9e510aedb52375da02a8776259d21ecf14587 (diff) |
compute relative values
Diffstat (limited to 'src/styleengine.hh')
-rw-r--r-- | src/styleengine.hh | 2 |
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); |