Source Code (Use browser search to find items of interest.)
Class Index
kdelibs'StyleBackgroundData (./kdelibs/khtml/rendering/render_style.h:375)
class StyleBackgroundData : public SharedData
{
public:
StyleBackgroundData()
{
image = 0;
}
virtual ~StyleBackgroundData()
{
}
StyleBackgroundData(const StyleBackgroundData& o ) : SharedData()
{
color = o.color;
image = o.image;
x_position = o.x_position;
y_position = o.y_position;
}
bool operator==(const StyleBackgroundData& o) const
{
return
color == o.color &&
image == o.image &&
x_position == o.x_position &&
y_position == o.y_position;
}
QColor color;
CachedImage *image;
Length x_position;
Length y_position;
};
//------------------------------------------------
// Inherited attributes.
//
// the inherited-decoration and inherited-shadow attributes
// are inherited from the
// first parent which is block level
//
// this applies to decoration_color too