void Style::SetBoxInternal(StyleCategories catBase, StyleBox val) { StyleAttrib a; a.SetSize((StyleCategories)(catBase + 0), val.Left); Set(a); a.SetSize((StyleCategories)(catBase + 1), val.Top); Set(a); a.SetSize((StyleCategories)(catBase + 2), val.Right); Set(a); a.SetSize((StyleCategories)(catBase + 3), val.Bottom); Set(a); }
void Style::SetUniformBox(StyleCategories cat, Size size) { StyleAttrib val; val.SetSize(cat, size); SetUniformBox(cat, val); }