本文整理汇总了C#中IGumpWriter类的典型用法代码示例。如果您正苦于以下问题:C# IGumpWriter类的具体用法?C# IGumpWriter怎么用?C# IGumpWriter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IGumpWriter类属于命名空间,在下文中一共展示了IGumpWriter类的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_X );
disp.AppendLayout( m_Y );
disp.AppendLayout( m_Hue );
disp.AppendLayout( m_Text == null ? m_TextID : Parent.Intern( m_Text ) );
}
示例5: AppendTo
public override void AppendTo( IGumpWriter disp )
{
disp.AppendLayout( m_LayoutName );
disp.AppendLayout( m_Number );
if (!string.IsNullOrEmpty(m_Args))
disp.AppendLayout(m_Args);
}
示例6: 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 );
}
示例7: 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);
}
示例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(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);
}
}
示例10: AppendTo
public override void AppendTo(IGumpWriter disp)
{
switch (m_Type)
{
case GumpHtmlLocalizedType.Plain:
{
disp.AppendLayout(m_LayoutNamePlain);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_Width);
disp.AppendLayout(m_Height);
disp.AppendLayout(m_Number);
disp.AppendLayout(m_Background);
disp.AppendLayout(m_Scrollbar);
break;
}
case GumpHtmlLocalizedType.Color:
{
disp.AppendLayout(m_LayoutNameColor);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_Width);
disp.AppendLayout(m_Height);
disp.AppendLayout(m_Number);
disp.AppendLayout(m_Background);
disp.AppendLayout(m_Scrollbar);
disp.AppendLayout(m_Color);
break;
}
case GumpHtmlLocalizedType.Args:
{
disp.AppendLayout(m_LayoutNameArgs);
disp.AppendLayout(m_X);
disp.AppendLayout(m_Y);
disp.AppendLayout(m_Width);
disp.AppendLayout(m_Height);
disp.AppendLayout(m_Background);
disp.AppendLayout(m_Scrollbar);
disp.AppendLayout(m_Color);
disp.AppendLayout(m_Number);
disp.AppendLayout(m_Args);
break;
}
}
}
示例11: 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( m_EntryID );
disp.AppendLayout( Parent.Intern( m_InitialText ) );
disp.TextEntries++;
}
示例12: AppendTo
public override void AppendTo(IGumpWriter disp)
{
disp.AppendLayout(_Layout1);
disp.AppendLayout(_Serial);
}
示例13: AppendTo
public override void AppendTo(IGumpWriter disp)
{
var first = true;
AppendTo(disp, ref first, _X, _Y, _Width, _Height, _BackgroundColor);
int x = _X, y = _Y, w = _Width, h = _Height;
if (FlowOffset(ref x, ref y, ref w, ref h))
{
AppendTo(disp, ref first, x, y, w, h, _ForegroundColor);
}
AppendTo(disp, ref first, _X, _Y, _Width, _BorderSize, _BorderColor);
AppendTo(disp, ref first, _X + (_Width - _BorderSize), _Y, _BorderSize, _Height, _BorderColor);
AppendTo(disp, ref first, _X, _Y + (_Height - _BorderSize), _Width, _BorderSize, _BorderColor);
AppendTo(disp, ref first, _X, _Y, _BorderSize, _Height, _BorderColor);
}
示例14: 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;
}
示例15: AppendTo
public abstract void AppendTo(IGumpWriter disp);