Source Code (Use browser search to find items of interest.)
Class Index
kdelibs'LengthBox (./kdelibs/khtml/rendering/render_style.h:128)
struct LengthBox
{
LengthBox()
{
left = Length(0, Undefined);
right = Length(0, Undefined);
top = Length(0, Undefined);
bottom = Length(0, Undefined);
}
Length left;
Length right;
Length top;
Length bottom;
Length& operator=(Length& len)
{
left=len;
right=len;
top=len;
bottom=len;
return len;
}
bool operator==(const LengthBox& o) const
{
return left==o.left && right==o.right && top==o.top && bottom==o.bottom;
}
bool nonZero() const { return left.value!=0 || right.value!=0 || top.value!=0 || bottom.value!=0; }
};