comparison src/styleengine.hh @ 590:eb1072890045

setNonCssProperties() -> setNonCssHints()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fri, 14 Nov 2008 16:16:25 +0100
parents d82c6a91385f
children 4ff90b6242f9
comparison
equal deleted inserted replaced
589:d82c6a91385f 590:eb1072890045
15 15
16 dw::core::Layout *layout; 16 dw::core::Layout *layout;
17 lout::misc::SimpleVector <Node> *stack; 17 lout::misc::SimpleVector <Node> *stack;
18 CssContext *cssContext; 18 CssContext *cssContext;
19 19
20 dw::core::style::Style *style0 (CssPropertyList *nonCssProperties = NULL); 20 dw::core::style::Style *style0 (CssPropertyList *nonCssHints = NULL);
21 void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props); 21 void apply (dw::core::style::StyleAttrs *attrs, CssPropertyList *props);
22 int computeValue (CssLength value, dw::core::style::Font *font); 22 int computeValue (CssLength value, dw::core::style::Font *font);
23 23
24 public: 24 public:
25 StyleEngine (dw::core::Layout *layout); 25 StyleEngine (dw::core::Layout *layout);
38 }; 38 };
39 39
40 void startElement (int tag, const char *id = NULL, const char *klass = NULL, 40 void startElement (int tag, const char *id = NULL, const char *klass = NULL,
41 const char *style = NULL); 41 const char *style = NULL);
42 void endElement (int tag); 42 void endElement (int tag);
43 void setNonCssProperties (CssPropertyList *props); 43 void setNonCssHints (CssPropertyList *nonCssHints);
44 void setPseudoClass (const char *pseudoClass); 44 void setPseudoClass (const char *pseudoClass);
45 45
46 inline dw::core::style::Style *style () { 46 inline dw::core::style::Style *style () {
47 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style; 47 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style;
48 if (s) 48 if (s)