public override void AppendTo( IGumpWriter disp )
		{
			disp.AppendLayout( m_LayoutName );
			disp.AppendLayout( m_X );
			disp.AppendLayout( m_Y );
			disp.AppendLayout( m_GumpID );
		}
Beispiel #2
0
        public override void AppendTo(IGumpWriter disp)
        {
            var s = _ShadowAngle.GetPoint2D(_X, _Y, _ShadowOffset);

            disp.AppendLayout(_Layout1A);
            disp.AppendLayout(s.X);
            disp.AppendLayout(s.Y);
            disp.AppendLayout(_ImageID);

            if (_ShadowHue > 0)
            {
                disp.AppendLayout(_Layout1Hue);
                disp.AppendLayoutNS(FixHue(_ShadowHue));
            }

            disp.AppendLayout(_Layout1B);
            disp.AppendLayout(_X);
            disp.AppendLayout(_Y);
            disp.AppendLayout(_ImageID);

            if (_ImageHue > 0)
            {
                disp.AppendLayout(_Layout1Hue);
                disp.AppendLayoutNS(FixHue(_ImageHue));
            }
        }
Beispiel #3
0
 public override void AppendTo(IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(m_X);
     disp.AppendLayout(m_Y);
     disp.AppendLayout(m_GumpID);
 }
Beispiel #4
0
 public override void AppendTo(NetState ns, IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(X);
     disp.AppendLayout(Y);
     disp.AppendLayout(Width);
     disp.AppendLayout(Height);
 }
Beispiel #5
0
 public static void AppendTo(this GumpLabel g, IGumpWriter disp)
 {
     disp.AppendLayout(GumpLabel.LayoutName);
     disp.AppendLayout(g.X);
     disp.AppendLayout(g.Y);
     disp.AppendLayout(g.Hue);
     disp.AppendLayout(g.Parent.Intern(g.Text));
 }
Beispiel #6
0
 public override void AppendTo(IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(m_X);
     disp.AppendLayout(m_Y);
     disp.AppendLayout(m_Hue);
     disp.AppendLayout(Parent.Intern(m_Text));
 }
Beispiel #7
0
 public static void AppendTo(this GumpAlphaRegion g, IGumpWriter disp, List <string> strings)
 {
     disp.AppendLayout(Gump.StringToBuffer("checkertrans"));
     disp.AppendLayout(g.X);
     disp.AppendLayout(g.Y);
     disp.AppendLayout(g.Width);
     disp.AppendLayout(g.Height);
 }
Beispiel #8
0
		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));
		}
Beispiel #9
0
		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);
		}
Beispiel #10
0
 public override void AppendTo(NetState ns, IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(X);
     disp.AppendLayout(Y);
     disp.AppendLayout(Hue);
     disp.AppendLayout(Parent.Intern(Text));
 }
		public override void AppendTo( IGumpWriter disp )
		{
			disp.AppendLayout( m_LayoutName );
			disp.AppendLayout( m_Number );

            if (!string.IsNullOrEmpty(m_Args))
                disp.AppendLayout(m_Args);
		}
Beispiel #12
0
 public static void AppendTo(this GumpLabel g, IGumpWriter disp, List <string> strings)
 {
     disp.AppendLayout(GumpLabel.LayoutName);
     disp.AppendLayout(g.X);
     disp.AppendLayout(g.Y);
     disp.AppendLayout(g.Hue);
     disp.AppendLayout(strings.Intern(g.Text));
 }
Beispiel #13
0
 public static void AppendTo(this GumpAlphaRegion g, IGumpWriter disp, List <string> strings)
 {
     disp.AppendLayout(GumpAlphaRegion.LayoutName);
     disp.AppendLayout(g.X);
     disp.AppendLayout(g.Y);
     disp.AppendLayout(g.Width);
     disp.AppendLayout(g.Height);
 }
 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);
 }
Beispiel #15
0
        public override void AppendTo(IGumpWriter disp)
        {
            disp.AppendLayout(m_LayoutName);
            disp.AppendLayout(m_Number);

            if (!string.IsNullOrEmpty(m_Args))
            {
                disp.AppendLayout(m_Args);
            }
        }
Beispiel #16
0
        public static void AppendTo(this GumpTooltip g, IGumpWriter disp, List <string> strings)
        {
            disp.AppendLayout(GumpTooltip.LayoutName);
            disp.AppendLayout(g.Number);

            if (!string.IsNullOrEmpty(g.Args))
            {
                disp.AppendLayout(g.Args);
            }
        }
Beispiel #17
0
		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);
			}
		}
Beispiel #18
0
        public override void AppendTo(NetState ns, IGumpWriter disp)
        {
            disp.AppendLayout(Hue == 0 ? m_LayoutName : m_LayoutNameHue);
            disp.AppendLayout(X);
            disp.AppendLayout(Y);
            disp.AppendLayout(ItemID);

            if (Hue != 0)
            {
                disp.AppendLayout(Hue);
            }
        }
Beispiel #19
0
        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);
            }
        }
Beispiel #20
0
        public static void AppendTo(this GumpItem g, IGumpWriter disp, List <string> strings)
        {
            disp.AppendLayout(g.Hue == 0 ? GumpItem.LayoutName : GumpItem.LayoutNameHue);
            disp.AppendLayout(g.X);
            disp.AppendLayout(g.Y);
            disp.AppendLayout(g.ItemID);

            if (g.Hue != 0)
            {
                disp.AppendLayout(g.Hue);
            }
        }
Beispiel #21
0
        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;
                }
            }
        }
Beispiel #22
0
        public static void AppendTo(this GumpItem g, IGumpWriter disp, List <string> strings)
        {
            disp.AppendLayout(Gump.StringToBuffer(g.Hue == 0 ? "tilepic" : "tilepichue"));
            disp.AppendLayout(g.X);
            disp.AppendLayout(g.Y);
            disp.AppendLayout(g.ItemID);

            if (g.Hue != 0)
            {
                disp.AppendLayout(g.Hue);
            }
        }
Beispiel #23
0
        public virtual void AppendTo(IGumpWriter disp, ref string props, ref bool hidePants, ref bool hideHair)
        {
            if (_Items == null || _Items.Count == 0)
            {
                return;
            }

            _Items.SortLayers();

            foreach (var item in _Items.TakeWhile(i => i.Layer.IsOrdered())
                     .Where(i => !_Body.IsGhost || i.ItemID == 8270 || i.ItemID == 8271))
            {
                if (item.ItemID == 0x1411 || item.ItemID == 0x141A)                 // plate legs
                {
                    hidePants = true;
                }
                else if (hidePants && item.Layer == Layer.Pants)
                {
                    continue;
                }

                if (!hideHair && (item.ItemID == 8270 || item.ItemID == 8271 || item.Layer == Layer.Helm))
                {
                    hideHair = true;
                }

                var gump = ArtworkSupport.LookupGump(item.ItemID, _Body.IsFemale);

                if (gump <= 0)
                {
                    continue;
                }

                disp.AppendLayout(_Layout2);
                disp.AppendLayout(_X);
                disp.AppendLayout(_Y);
                disp.AppendLayout(gump);

                var hue = _SolidHue >= 0 ? _SolidHue : item.Hue;

                if (hue > 0 || (_SolidHue >= 0 && hue == _SolidHue))
                {
                    disp.AppendLayout(_Layout2Hue);
                    disp.AppendLayoutNS(FixHue(hue));
                }

                if (_Properties)
                {
                    props += item.Serial.Value + ",";
                }
            }
        }
Beispiel #24
0
		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);
			}
		}
Beispiel #25
0
        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);
            }
        }
Beispiel #26
0
        public override void AppendTo(NetState ns, IGumpWriter disp)
        {
            disp.AppendLayout(m_LayoutName);
            disp.AppendLayout(X);
            disp.AppendLayout(Y);
            disp.AppendLayout(GumpID);

            if (Hue != 0)
            {
                disp.AppendLayout(m_HueEquals);
                disp.AppendLayoutNS(Hue);
            }
        }
Beispiel #27
0
        public virtual void AppendTo(IGumpWriter disp, ref bool first, int number, Color color)
        {
            string n;

            if (_Numerals)
            {
                n = (Numeral)number;
            }
            else
            {
                n = number.ToString();
            }

            var x    = (_X + 30) + (int)(-1 * (40 * Math.Cos((Math.PI / 180.0f) * (number * 30 + 90))));
            var y    = (_Y + 30) + (int)(-1 * (40 * Math.Sin((Math.PI / 180.0f) * (number * 30 + 90))));
            var text = Parent.Intern(n.WrapUOHtmlBold().WrapUOHtmlCenter().WrapUOHtmlColor(color, false));

            disp.AppendLayout(first ? _Layout2A : _Layout2B);
            disp.AppendLayout(x);
            disp.AppendLayout(y);
            disp.AppendLayout(20);
            disp.AppendLayout(40);
            disp.AppendLayout(text);
            disp.AppendLayout(false);
            disp.AppendLayout(false);

            first = false;
        }
		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 ) );
		}
Beispiel #29
0
        public static void AppendTo(this GumpTextEntryLimited g, IGumpWriter disp, List <string> strings)
        {
            disp.AppendLayout(GumpTextEntryLimited.LayoutName);
            disp.AppendLayout(g.X);
            disp.AppendLayout(g.Y);
            disp.AppendLayout(g.Width);
            disp.AppendLayout(g.Height);
            disp.AppendLayout(g.Hue);
            disp.AppendLayout(g.EntryID);
            disp.AppendLayout(strings.Intern(g.InitialText));
            disp.AppendLayout(g.Size);

            disp.TextEntries++;
        }
Beispiel #30
0
        public override void AppendTo(IGumpWriter disp)
        {
            disp.AppendLayout(_LayoutName);
            disp.AppendLayout(this._X);
            disp.AppendLayout(this._Y);
            disp.AppendLayout(this._Width);
            disp.AppendLayout(this._Height);
            disp.AppendLayout(this._Hue);
            disp.AppendLayout(this._EntryID);
            disp.AppendLayout(this.Parent.RootParent.Intern(this._InitialText));
            disp.AppendLayout(this._Size);

            disp.TextEntries++;
        }
        public override void AppendTo(IGumpWriter disp)
        {
            disp.AppendLayout(_LayoutName);
            disp.AppendLayout(_X);
            disp.AppendLayout(_Y);
            disp.AppendLayout(_Width);
            disp.AppendLayout(_Height);
            disp.AppendLayout(_Hue);
            disp.AppendLayout(_EntryID);
            disp.AppendLayout(Container.RootParent.Intern(_InitialText));
            disp.AppendLayout(_Size);

            disp.TextEntries++;
        }
Beispiel #32
0
        public override void AppendTo(NetState ns, IGumpWriter disp)
        {
            disp.AppendLayout(m_LayoutName);
            disp.AppendLayout(X);
            disp.AppendLayout(Y);
            disp.AppendLayout(Width);
            disp.AppendLayout(Height);
            disp.AppendLayout(Hue);
            disp.AppendLayout(EntryID);
            disp.AppendLayout(Parent.Intern(InitialText));
            disp.AppendLayout(Size);

            disp.TextEntries++;
        }
Beispiel #33
0
        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.AppendLayout(m_Size);

            disp.TextEntries++;
        }
Beispiel #34
0
 public override void AppendTo(NetState ns, IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(X);
     disp.AppendLayout(Y);
     disp.AppendLayout(NormalID);
     disp.AppendLayout(PressedID);
     disp.AppendLayout((int)Type);
     disp.AppendLayout(Param);
     disp.AppendLayout(ButtonID);
 }
Beispiel #35
0
 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);
 }
Beispiel #36
0
 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);
 }
Beispiel #37
0
		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);
		}
Beispiel #38
0
		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);
		}
Beispiel #39
0
 public override void AppendTo(NetState ns, IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(X);
     disp.AppendLayout(Y);
     disp.AppendLayout(Width);
     disp.AppendLayout(Height);
     disp.AppendLayout(Parent.Intern(Text));
     disp.AppendLayout(Background);
     disp.AppendLayout(Scrollbar);
 }
Beispiel #40
0
		public override void AppendTo( NetState ns, IGumpWriter disp )
		{
			disp.AppendLayout( m_LayoutName );
			disp.AppendLayout( m_X );
			disp.AppendLayout( m_Y );
			disp.AppendLayout( m_Hue );
			disp.AppendLayout( Parent.Intern( m_Text ) );
		}
		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_Number );
			disp.AppendLayout( m_Background );
			disp.AppendLayout( m_Scrollbar );
		}
Beispiel #42
0
        public override void AppendTo(IGumpWriter disp)
        {
            disp.AppendLayout(_LayoutName);
            disp.AppendLayout(this._X);
            disp.AppendLayout(this._Y);
            disp.AppendLayout(this._ID1);
            disp.AppendLayout(this._ID2);
            disp.AppendLayout(this._InitialState);
            disp.AppendLayout(this._EntryID);

            disp.Switches++;
        }
Beispiel #43
0
		public override void AppendTo(IGumpWriter disp)
		{
			disp.AppendLayout(_Layout1);
			disp.AppendLayout(_Serial);
		}
Beispiel #44
0
		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;
				}
			}
		}
		public override void AppendTo(IGumpWriter disp)
		{
			disp.AppendLayout(_LayoutName);
			disp.AppendLayout(_X);
			disp.AppendLayout(_Y);
			disp.AppendLayout(_Width);
			disp.AppendLayout(_Height);
			disp.AppendLayout(_Hue);
			disp.AppendLayout(_EntryID);
			disp.AppendLayout(Container.RootParent.Intern(_InitialText));
			disp.AppendLayout(_Size);

			disp.TextEntries++;
		}
        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);
            disp.AppendLayout(m_ItemID);
            disp.AppendLayout(m_Hue);
            disp.AppendLayout(m_Width);
            disp.AppendLayout(m_Height);

            if (m_LocalizedTooltip > 0)
            {
                disp.AppendLayout(m_LayoutTooltip);
                disp.AppendLayout(m_LocalizedTooltip);
            }

        }
Beispiel #47
0
		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( m_InitialState );
			disp.AppendLayout( m_SwitchID );

			disp.Switches++;
		}
		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 );
		}
Beispiel #49
0
        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++;
        }
Beispiel #50
0
            public override void AppendTo( IGumpWriter disp )
            {
                base.AppendTo( disp );

                disp.AppendLayout( m_Class );
            }
		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;
					}
			}
		}
Beispiel #52
0
		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);
		}
Beispiel #53
0
 public override void AppendTo(IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(this.m_Page);
 }
		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);
			}
		}
Beispiel #55
0
		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;
		}
Beispiel #56
0
		public override void AppendTo(IGumpWriter disp)
		{
			disp.AppendLayout(m_LayoutName);
			disp.AppendLayout(m_Number);
		}
		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 ) );
		}
Beispiel #58
0
		public override void AppendTo(IGumpWriter disp)
		{
			var s = _ShadowAngle.GetPoint2D(_X, _Y, _ShadowOffset);

			disp.AppendLayout(_ShadowHue > 0 ? _Layout2A : _Layout1A);
			disp.AppendLayout(s.X);
			disp.AppendLayout(s.Y);
			disp.AppendLayout(_ItemID);

			if (_ShadowHue > 0)
			{
				disp.AppendLayout(FixHue(_ShadowHue));
			}

			disp.AppendLayout(_ItemHue > 0 ? _Layout2B : _Layout1B);
			disp.AppendLayout(_X);
			disp.AppendLayout(_Y);
			disp.AppendLayout(_ItemID);

			if (_ItemHue > 0)
			{
				disp.AppendLayout(FixHue(_ItemHue));
			}
		}
Beispiel #59
0
		public virtual void AppendTo(IGumpWriter disp, int x, int y, int w, int h)
		{
			var first = _X == x && _Y == y;

			if (_GumpID >= 0)
			{
				disp.AppendLayout(first ? _Layout1A : _Layout1B);
				disp.AppendLayout(x);
				disp.AppendLayout(y);
				disp.AppendLayout(w);
				disp.AppendLayout(h);
				disp.AppendLayout(_GumpID);

				disp.AppendLayout(_Layout2B);
				disp.AppendLayout(x);
				disp.AppendLayout(y);
				disp.AppendLayout(w);
				disp.AppendLayout(h);
			}
			else
			{
				disp.AppendLayout(first ? _Layout2A : _Layout2B);
				disp.AppendLayout(x);
				disp.AppendLayout(y);
				disp.AppendLayout(w);
				disp.AppendLayout(h);
			}
		}
Beispiel #60
0
        public override void AppendTo(IGumpWriter disp)
        {
            disp.AppendLayout(_LayoutName);
            disp.AppendLayout(this._X);
            disp.AppendLayout(this._Y);
            disp.AppendLayout(this._Width);
            disp.AppendLayout(this._Height);
            disp.AppendLayout(this._Hue);
            disp.AppendLayout(this._EntryID);
            disp.AppendLayout(this.Parent.RootParent.Intern(this._InitialText));

            disp.TextEntries++;
        }