Esempio n. 1
0
    // Token: 0x0600472C RID: 18220 RVA: 0x0010D1C8 File Offset: 0x0010B3C8
    protected override void _PerformLayoutImpl(global::dfMarkupBox container, global::dfMarkupStyle style)
    {
        style.TextDecoration = global::dfMarkupTextDecoration.Underline;
        style = base.applyTextStyleAttributes(style);
        int i = 0;

        while (i < base.ChildNodes.Count)
        {
            global::dfMarkupElement dfMarkupElement = base.ChildNodes[i];
            if (!(dfMarkupElement is global::dfMarkupString))
            {
                goto IL_63;
            }
            global::dfMarkupString dfMarkupString = dfMarkupElement as global::dfMarkupString;
            if (!(dfMarkupString.Text == "\n"))
            {
                goto IL_63;
            }
            if (style.PreserveWhitespace)
            {
                container.AddLineBreak();
            }
IL_6B:
            i++;
            continue;
IL_63:
            dfMarkupElement.PerformLayout(container, style);
            goto IL_6B;
        }
    }
Esempio n. 2
0
 // Token: 0x06004748 RID: 18248 RVA: 0x0010DB68 File Offset: 0x0010BD68
 protected override void _PerformLayoutImpl(global::dfMarkupBox container, global::dfMarkupStyle style)
 {
     container.AddLineBreak();
 }