Exemple #1
0
        public void AddNewPage()
        {
            FinishPage();

            m_CurrentX = BorderSize + OffsetSize;
            m_CurrentY = BorderSize + OffsetSize;

            AddPage(++m_CurrentPage);

            m_Background = new GumpBackground(0, 0, 100, 100, BackGumpID);
            Add(m_Background);

            m_Offset = new GumpImageTiled(BorderSize, BorderSize, 100, 100, OffsetGumpID);
            Add(m_Offset);
        }
Exemple #2
0
        public void AddNewPage()
        {
            this.FinishPage();

            this.m_CurrentX = this.BorderSize + this.OffsetSize;
            this.m_CurrentY = this.BorderSize + this.OffsetSize;

            this.AddPage(++m_CurrentPage);

            this.m_Background = new GumpBackground(0, 0, 100, 100, this.BackGumpID);
            this.Add(m_Background);

            this.m_Offset = new GumpImageTiled(this.BorderSize, this.BorderSize, 100, 100, this.OffsetGumpID);
            this.Add(m_Offset);
        }
Exemple #3
0
        public void AddNewPage()
        {
            this.FinishPage();

            this.m_CurrentX = this.BorderSize + this.OffsetSize;
            this.m_CurrentY = this.BorderSize + this.OffsetSize;

            this.AddPage(++this.m_CurrentPage);

            this.m_Background = new GumpBackground(0, 0, 100, 100, this.BackGumpID);
            this.Add(this.m_Background);

            this.m_Offset = new GumpImageTiled(this.BorderSize, this.BorderSize, 100, 100, this.OffsetGumpID);
            this.Add(this.m_Offset);
        }
Exemple #4
0
		public virtual void Write(string name, GumpBackground e)
		{
			CreateElement(e);
			SetAttribute("name", name);
			SetAttribute("x", e.X);
			SetAttribute("y", e.Y);
			SetAttribute("width", e.Width);
			SetAttribute("height", e.Height);
			SetAttribute("gumpid", e.GumpID);
			Append();
		}
Exemple #5
0
		public void AddNewPage()
		{
			FinishPage();

			m_CurrentX = BorderSize + OffsetSize;
			m_CurrentY = BorderSize + OffsetSize;

			AddPage( ++m_CurrentPage );

			m_Background = new GumpBackground( 0, 0, 100, 100, BackGumpID );
			Add( m_Background );

			m_Offset = new GumpImageTiled( BorderSize, BorderSize, 100, 100, OffsetGumpID );
			Add( m_Offset );
		}
Exemple #6
0
		protected BaseDetailGump()
			: base( 50, 50 ) {
			AddPage( 0 );
			
 
			/*AddBackground( 1, 1, 398, 218 + 102, 3600 );
			AddImageTiled( 16, 15, 369, 189 + 102, 3604 );
			AddAlphaRegion( 16, 15, 369, 189 + 102 );*/
 
			Add( _back = new GumpBackground( 0, 0, 300, 200, 9270 ) );
			Add( _alpha = new GumpAlphaRegion( 10, 10, 300 - 20, 200 - 20 ) );
		}