comparison src/styleengine.hh @ 664:109eaf60aea2

add comment about inheritBackgroundColor()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 09 Dec 2008 22:24:03 +0100
parents 920e6090d6d6
children 14ce954d98c0
comparison
equal deleted inserted replaced
663:fbeaa9990ff3 664:109eaf60aea2
50 void setClass (const char *klass); 50 void setClass (const char *klass);
51 void setStyle (const char *style); 51 void setStyle (const char *style);
52 void endElement (int tag); 52 void endElement (int tag);
53 void setPseudo (const char *pseudo); 53 void setPseudo (const char *pseudo);
54 void setNonCssHints (CssPropertyList *nonCssHints); 54 void setNonCssHints (CssPropertyList *nonCssHints);
55 void inheritBackgroundColor (); 55 void inheritBackgroundColor (); /* \todo get rid of this somehow */
56 56
57 inline dw::core::style::Style *style () { 57 inline dw::core::style::Style *style () {
58 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style; 58 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style;
59 if (s) 59 if (s)
60 return s; 60 return s;