本文整理汇总了C#中IGumpWriter.AppendLayout方法的典型用法代码示例。如果您正苦于以下问题:C# IGumpWriter.AppendLayout方法的具体用法?C# IGumpWriter.AppendLayout怎么用?C# IGumpWriter.AppendLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IGumpWriter
的用法示例。
在下文中一共展示了IGumpWriter.AppendLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AppendTo
public override void AppendTo( IGumpWriter disp )
{
disp.AppendLayout( m_LayoutName );
disp.AppendLayout( m_X );
disp.AppendLayout( m_Y );
disp.AppendLayout( m_GumpID );
}
示例2: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(m_LayoutName);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_Width);
disp.AppendLayout(m_Height);
}
示例3: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(m_LayoutName);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_Hue);
disp.AppendLayout(Container.RootParent.Intern(m_Text));
}
示例4: AppendTo
public override void AppendTo( IGumpWriter disp )
{
disp.AppendLayout( m_LayoutName );
disp.AppendLayout( m_Number );
if (!string.IsNullOrEmpty(m_Args))
disp.AppendLayout(m_Args);
}
示例5: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(m_Hue == 0 ? m_LayoutName : m_LayoutNameHue);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_ItemID);
if (m_Hue != 0)
{
disp.AppendLayout(m_Hue);
}
}
示例6: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(m_LayoutName);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_GumpID);
if (m_Hue != 0)
{
disp.AppendLayout(m_HueEquals);
disp.AppendLayoutNS(m_Hue);
}
}
示例7: AppendTo
public override void AppendTo( IGumpWriter disp )
{
disp.AppendLayout( m_LayoutName );
disp.AppendLayout( m_X );
disp.AppendLayout( m_Y );
disp.AppendLayout( m_Hue );
disp.AppendLayout( m_Text == null ? m_TextID : Parent.Intern( m_Text ) );
}
示例8: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(m_LayoutName);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_Width);
disp.AppendLayout(m_Height);
disp.AppendLayout(Container.RootParent.Intern(m_Text));
disp.AppendLayout(m_Background);
disp.AppendLayout(m_Scrollbar);
}
示例9: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(_Layout1);
disp.AppendLayout(_X);
disp.AppendLayout(_Y);
disp.AppendLayout(1);
disp.AppendLayout(1);
disp.AppendLayout(Parent.Intern(" ".WrapUOHtmlBG(_Color)));
disp.AppendLayout(false);
disp.AppendLayout(false);
}
示例10: AppendTo
public override void AppendTo( IGumpWriter disp )
{
disp.AppendLayout( m_LayoutName );
disp.AppendLayout( m_X );
disp.AppendLayout( m_Y );
disp.AppendLayout( m_ID1 );
disp.AppendLayout( m_ID2 );
disp.AppendLayout( (int) m_Type );
disp.AppendLayout( m_Param );
disp.AppendLayout( m_ButtonID );
}
示例11: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(m_LayoutName);
disp.AppendLayout(this.m_Page);
}
示例12: AppendTo
public override void AppendTo( IGumpWriter disp )
{
disp.AppendLayout( m_LayoutName );
disp.AppendLayout( m_X );
disp.AppendLayout( m_Y );
disp.AppendLayout( m_Width );
disp.AppendLayout( m_Height );
disp.AppendLayout( m_Hue );
disp.AppendLayout( Parent.Intern( m_Text ) );
}
示例13: AppendTo
public virtual void AppendTo(IGumpWriter disp, ref bool first, int x, int y, int w, int h, Color c)
{
disp.AppendLayout(first ? _Layout1A : _Layout1B);
disp.AppendLayout(x);
disp.AppendLayout(y);
disp.AppendLayout(w);
disp.AppendLayout(h);
disp.AppendLayout(Parent.Intern(" ".WrapUOHtmlBG(c)));
disp.AppendLayout(false);
disp.AppendLayout(false);
first = false;
}
示例14: AppendTo
public override void AppendTo(IGumpWriter disp)
{
var x = _X;
var y = _Y;
if (_Centering.HasFlag(Axis.Horizontal))
{
x -= Width / 2;
}
if (_Centering.HasFlag(Axis.Vertical))
{
y -= Height / 2;
}
var value = _Value.ToString();
for (int i = 0, s = 0; i < value.Length; i++, s += 20)
{
switch (value[i])
{
case '-':
{
disp.AppendLayout(_Layout1A);
disp.AppendLayout(x + s);
disp.AppendLayout(y + 12);
disp.AppendLayout(1433);
if (_Hue > 0)
{
disp.AppendLayout(_Layout1Hue);
disp.AppendLayoutNS(FixHue(_Hue));
}
}
continue;
default:
{
disp.AppendLayout(i == 0 ? _Layout1A : _Layout1B);
disp.AppendLayout(x + s);
disp.AppendLayout(y);
disp.AppendLayout(1423 + Byte.Parse(value.Substring(i, 1)));
if (_Hue > 0)
{
disp.AppendLayout(_Layout1Hue);
disp.AppendLayoutNS(FixHue(_Hue));
}
}
continue;
}
}
}
示例15: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(_LayoutName);
disp.AppendLayout(_X);
disp.AppendLayout(_Y);
disp.AppendLayout(_ID1);
disp.AppendLayout(_ID2);
disp.AppendLayout((int)_Type);
disp.AppendLayout(_Param);
disp.AppendLayout(_EntryID);
disp.AppendLayout(_ItemID);
disp.AppendLayout(_Hue);
disp.AppendLayout(_Width);
disp.AppendLayout(_Height);
if (_LocalizedTooltip > 0)
{
disp.AppendLayout(_LayoutTooltip);
disp.AppendLayout(_LocalizedTooltip);
}
}