当前位置: 首页>>代码示例>>C#>>正文


C# IGumpWriter.AppendLayout方法代码示例

本文整理汇总了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 );
		}
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:7,代码来源:KRGumpImage.cs

示例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);
		}
开发者ID:greeduomacro,项目名称:RuneUO,代码行数:8,代码来源:GumpAlphaRegion.cs

示例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));
		}
开发者ID:mtPrimo,项目名称:ServUO,代码行数:8,代码来源:GumpLabel.cs

示例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);
		}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:8,代码来源:GumpTooltip.cs

示例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);
			}
		}
开发者ID:mtPrimo,项目名称:ServUO,代码行数:12,代码来源:GumpItem.cs

示例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);
			}
		}
开发者ID:mtPrimo,项目名称:ServUO,代码行数:13,代码来源:GumpImage.cs

示例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 ) );
		}
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:8,代码来源:GumpLabel.cs

示例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);
		}
开发者ID:jasegiffin,项目名称:JustUO,代码行数:11,代码来源:GumpHtml.cs

示例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);
		}
开发者ID:Ravenwolfe,项目名称:Core,代码行数:11,代码来源:GumpPixel.cs

示例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 );
		}
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:11,代码来源:KRGumpButton.cs

示例11: AppendTo

 public override void AppendTo(IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(this.m_Page);
 }
开发者ID:m309,项目名称:ForkUO,代码行数:5,代码来源:GumpPage.cs

示例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 ) );
		}
开发者ID:zerodowned,项目名称:JustUO-merged-with-EC-Support,代码行数:10,代码来源:GumpLabelCropped.cs

示例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;
		}
开发者ID:Ravenwolfe,项目名称:Core,代码行数:13,代码来源:GumpGradient.cs

示例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;
				}
			}
		}
开发者ID:Ravenwolfe,项目名称:Core,代码行数:52,代码来源:GumpImageNumber.cs

示例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);
			}
		}
开发者ID:jasegiffin,项目名称:JustUO,代码行数:22,代码来源:GumpImageTileButton.cs


注:本文中的IGumpWriter.AppendLayout方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。