comparison src/styleengine.hh @ 679:14ce954d98c0

inherit pseudo classes "link" and "visited"
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Sun, 14 Dec 2008 22:21:18 +0100
parents 109eaf60aea2
children 478dfc078e12
comparison
equal deleted inserted replaced
678:d8829df904cf 679:14ce954d98c0
48 void startElement (int tag); 48 void startElement (int tag);
49 void setId (const char *id); 49 void setId (const char *id);
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 setPseudoLink ();
54 void setPseudoVisited ();
54 void setNonCssHints (CssPropertyList *nonCssHints); 55 void setNonCssHints (CssPropertyList *nonCssHints);
55 void inheritBackgroundColor (); /* \todo get rid of this somehow */ 56 void inheritBackgroundColor (); /* \todo get rid of this somehow */
56 57
57 inline dw::core::style::Style *style () { 58 inline dw::core::style::Style *style () {
58 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style; 59 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style;