AppendLayout() public method

public AppendLayout ( bool val ) : void
val bool
return void
Ejemplo n.º 1
0
 public override void AppendTo( DisplayGumpFast 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 ) );
 }
Ejemplo n.º 2
0
        public override void AppendTo( DisplayGumpFast 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 );
        }
        public override void AppendTo( DisplayGumpFast disp )
        {
            disp.AppendLayout( m_UseColor ? m_LayoutNameColor : 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 );

            if ( m_UseColor )
                disp.AppendLayout( m_Color );
        }
Ejemplo n.º 4
0
 public override void AppendTo( DisplayGumpFast disp )
 {
     disp.AppendLayout( m_LayoutName );
     disp.AppendLayout( m_Page );
 }
Ejemplo n.º 5
0
		private Packet Compile()
		{
			if ( m_Packet == null )
			{
				DisplayGumpFast disp = new DisplayGumpFast( this );

				if ( !m_Dragable )
					disp.AppendLayout( m_NoMove );

				if ( !m_Closable )
					disp.AppendLayout( m_NoClose );

				if ( !m_Disposable )
					disp.AppendLayout( m_NoDispose );

				if ( !m_Resizable )
					disp.AppendLayout( m_NoResize );

				int count = m_Entries.Count;
				GumpEntry e;

				for ( int i = 0; i < count; ++i )
				{
					e = (GumpEntry)m_Entries[i];

					disp.AppendLayout( m_BeginLayout );
					e.AppendTo( disp );
					disp.AppendLayout( m_EndLayout );
				}

				disp.WriteText( m_Strings );

				m_TextEntries = disp.TextEntries;
				m_Switches = disp.Switches;

				m_Packet = disp;
			}

			return m_Packet;
		}
Ejemplo n.º 6
0
		public override void AppendTo(DisplayGumpFast 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++;
		}
Ejemplo n.º 7
0
		public override void AppendTo(DisplayGumpFast 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);
			}
		}
Ejemplo n.º 8
0
 public override void AppendTo( DisplayGumpFast disp )
 {
     disp.AppendLayout( m_LayoutName );
     disp.AppendLayout( m_X );
     disp.AppendLayout( m_Y );
     disp.AppendLayout( m_GumpID );
     disp.AppendLayout( m_Width );
     disp.AppendLayout( m_Height );
 }
Ejemplo n.º 9
0
		public override void AppendTo(DisplayGumpFast 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++;
		}
Ejemplo n.º 10
0
		public override void AppendTo(DisplayGumpFast 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);
		}
Ejemplo n.º 11
0
            public override void AppendTo( DisplayGumpFast disp )
            {
                base.AppendTo( disp );

                disp.AppendLayout( m_Class );
            }