public StyleState(StyleState parent) { m_IsUnderlined = parent.m_IsUnderlined; IsBold = parent.IsBold; IsItalic = parent.IsItalic; IsOutlined = parent.IsOutlined; Font = parent.Font; Alignment = parent.Alignment; Color = parent.Color; HREF = parent.HREF; ElementWidth = parent.ElementWidth; ElementHeight = parent.ElementHeight; GumpImgSrc = parent.GumpImgSrc; GumpImgSrcOver = parent.GumpImgSrcOver; GumpImgSrcDown = parent.GumpImgSrcDown; }
private void RecalculateStyle() { Style = new StyleState(m_Provider); for (int i = 0; i < m_OpenTags.Count; i++) { ParseTag(m_OpenTags[i]); } }