comparison src/styleengine.hh @ 956:dd46fa6ceb94

fix missing background color for ComplexButton (noticed by corvid)
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Tue, 17 Feb 2009 11:57:06 +0100
parents b277eed3119c
children d04d960da3f4
comparison
equal deleted inserted replaced
955:b84781690627 956:dd46fa6ceb94
54 void endElement (int tag); 54 void endElement (int tag);
55 void setPseudoLink (); 55 void setPseudoLink ();
56 void setPseudoVisited (); 56 void setPseudoVisited ();
57 void setNonCssHints (CssPropertyList *nonCssHints); 57 void setNonCssHints (CssPropertyList *nonCssHints);
58 void inheritBackgroundColor (); /* \todo get rid of this somehow */ 58 void inheritBackgroundColor (); /* \todo get rid of this somehow */
59 dw::core::style::Style *backgroundStyle ();
59 60
60 inline dw::core::style::Style *style () { 61 inline dw::core::style::Style *style () {
61 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style; 62 dw::core::style::Style *s = stack->getRef (stack->size () - 1)->style;
62 if (s) 63 if (s)
63 return s; 64 return s;
69 if (s) 70 if (s)
70 return s; 71 return s;
71 else 72 else
72 return wordStyle0 (); 73 return wordStyle0 ();
73 }; 74 };
74
75 }; 75 };
76 76
77 #endif 77 #endif