Ejemplo n.º 1
0
	SLayoutSize SLinearLayoutParam::GetSpecifiedSize(ORIENTATION orientation) const
    {
        switch(orientation)
        {
        case Horz:
            return width;
        case Vert:
            return height;
        case Any: 
        case Both:
        default:
            SASSERT_FMTA(FALSE,"GetSpecifiedSize can only be applied for Horz or Vert");
            return SLayoutSize();
        }
    }
Ejemplo n.º 2
0
const SLayoutSize SDimensionParser::GetNullValue()
{
	return SLayoutSize();
}