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


C# IGumpWriter类代码示例

本文整理汇总了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 );
		}
开发者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_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

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

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

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

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

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

示例12: AppendTo

		public override void AppendTo(IGumpWriter disp)
		{
			disp.AppendLayout(_Layout1);
			disp.AppendLayout(_Serial);
		}
开发者ID:Ravenwolfe,项目名称:Core,代码行数:5,代码来源:GumpOPL.cs

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

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

示例15: AppendTo

 public abstract void AppendTo(IGumpWriter disp);
开发者ID:m309,项目名称:ForkUO,代码行数:1,代码来源:GumpEntry.cs


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