public override void AppendTo( IGumpWriter disp )
		{
			disp.AppendLayout( m_LayoutName );
			disp.AppendLayout( m_X );
			disp.AppendLayout( m_Y );
			disp.AppendLayout( m_GumpID );
		}
Exemple #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));
            }
        }
Exemple #3
0
 public override void AppendTo(IGumpWriter disp)
 {
     disp.AppendLayout(m_LayoutName);
     disp.AppendLayout(m_X);
     disp.AppendLayout(m_Y);
     disp.AppendLayout(m_GumpID);
 }
Exemple #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);
 }
Exemple #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));
 }
Exemple #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));
 }
Exemple #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);
 }
Exemple #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));
		}
		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);
		}
Exemple #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);
		}
Exemple #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));
 }
Exemple #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);
 }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
			}
		}
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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;
                }
            }
        }
Exemple #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);
            }
        }
        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 + ",";
                }
            }
        }
Exemple #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);
			}
		}
Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #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 ) );
		}
Exemple #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++;
        }
Exemple #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++;
        }
Exemple #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++;
        }
Exemple #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++;
        }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
		}
Exemple #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);
		}
Exemple #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);
 }
Exemple #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 );
		}
Exemple #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++;
        }
Exemple #43
0
		public override void AppendTo(IGumpWriter disp)
		{
			disp.AppendLayout(_Layout1);
			disp.AppendLayout(_Serial);
		}
Exemple #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);
            }

        }
		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 );
		}
Exemple #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++;
        }
Exemple #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;
					}
			}
		}
Exemple #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);
		}
Exemple #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);
			}
		}
Exemple #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;
		}
Exemple #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 ) );
		}
Exemple #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));
			}
		}
Exemple #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);
			}
		}
Exemple #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++;
        }