comparison src/styleengine.hh @ 1472:6ed936726b50

support border-width: thin | medium | thick
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 18 Dec 2009 22:23:30 +0100
parents a7f1763fd21e
children 9225a90ad7dd
comparison
equal deleted inserted replaced
1468:7fc6e6dca086 1472:6ed936726b50
40 dw::core::style::Font *font); 40 dw::core::style::Font *font);
41 bool computeValue (int *dest, CssLength value, 41 bool computeValue (int *dest, CssLength value,
42 dw::core::style::Font *font, int percentageBase); 42 dw::core::style::Font *font, int percentageBase);
43 bool computeLength (dw::core::style::Length *dest, CssLength value, 43 bool computeLength (dw::core::style::Length *dest, CssLength value,
44 dw::core::style::Font *font); 44 dw::core::style::Font *font);
45 void computeBorderWidth (int *dest, CssProperty *p,
46 dw::core::style::Font *font);
45 47
46 public: 48 public:
47 StyleEngine (dw::core::Layout *layout); 49 StyleEngine (dw::core::Layout *layout);
48 ~StyleEngine (); 50 ~StyleEngine ();
49 51