Exemplo n.º 1
0
 //Construct and make active the section
 public void ConstructSection(BaseGumpSection section)
 {
     if (section != null)
     {
         ConstructAddedSection(AddActiveSection(section));
     }
 }
Exemplo n.º 2
0
        public virtual BaseGumpSection GetDefaultSection()
        {
            if (m_DefaultActiveCategory >= 0 && m_Categories.Count > 0)
            {
                BaseGumpSection section = m_Categories[m_DefaultActiveCategory];
                if (section != null)
                {
                    return(section);
                }
            }

            return(null);
        }
 public BaseCategoryListSection( BaseGumpSection parent, int mod_x, int mod_y, int activecat )
     : this(parent, mod_x, mod_y)
 {
     m_DefaultActiveCategory = activecat;
 }
Exemplo n.º 4
0
 public abstract void DisplayCategory(int x, int y, BaseGumpSection section, GumpResponse response);
Exemplo n.º 5
0
 public GumpResponse(BaseGumpSection section, GumpResponseHandler handler) : this(section, handler, 0)
 {
 }
 public BaseGumpListSection( BaseGumpSection parent, int mod_x, int mod_y )
     : base(parent, mod_x, mod_y)
 {
 }
Exemplo n.º 7
0
		public BaseGumpSection( BaseGumpSection parent, int mod_x, int mod_y ) : this( parent != null ? parent.RootParent : null, mod_x, mod_y )
		{
			m_Parent = parent;
		}
Exemplo n.º 8
0
		public GumpResponse NewResponse( BaseGumpSection section, GumpResponseHandler handler )
		{
			return new GumpResponse( section, handler, 0 );
		}
Exemplo n.º 9
0
		//Construct already active section
		public virtual void ConstructAddedSection( BaseGumpSection section )
		{
			section.ActiveSections.Clear();
			section.Construct( m_ButtonCount, m_TextEntryCount, m_SwitchCount );
		}
Exemplo n.º 10
0
		public GumpResponse( BaseGumpSection section, GumpResponseHandler handler, int localid )
		{
			m_Section = section;
			m_Handler = handler;
			m_LocalButtonID = localid;
		}
Exemplo n.º 11
0
		public GumpResponse( BaseGumpSection section, GumpResponseHandler handler ) : this ( section, handler, 0 )
		{
		}
Exemplo n.º 12
0
 public virtual void SetActiveCategory(BaseGumpSection section)
 {
     m_ActiveCategory = section;
 }
Exemplo n.º 13
0
 public BaseCategoryListSection(BaseGumpSection parent, int mod_x, int mod_y, int activecat) : this(parent, mod_x, mod_y)
 {
     m_DefaultActiveCategory = activecat;
 }
Exemplo n.º 14
0
 public virtual void AddCategory( BaseGumpSection section )
 {
     m_Categories.Add( section );
 }
Exemplo n.º 15
0
 public virtual BaseGumpSection AddActiveSection(BaseGumpSection section)
 {
     m_ActiveSections.Add(section);
     return(section);
 }
Exemplo n.º 16
0
		//Construct and make active the section
		public void ConstructSection( BaseGumpSection section )
		{
			if ( section != null )
				ConstructAddedSection( AddActiveSection( section ) );
		}
Exemplo n.º 17
0
 public GumpResponse NewResponse(BaseGumpSection section, GumpResponseHandler handler)
 {
     return(new GumpResponse(section, handler, 0));
 }
Exemplo n.º 18
0
		public virtual BaseGumpSection AddActiveSection( BaseGumpSection section )
		{
			m_ActiveSections.Add( section );
			return section;
		}
Exemplo n.º 19
0
 public virtual GumpResponse NewResponse(BaseGumpSection section, GumpResponseHandler handler, int localid)
 {
     return(new GumpResponse(section, handler, localid));
 }
Exemplo n.º 20
0
		public virtual GumpResponse NewResponse( BaseGumpSection section, GumpResponseHandler handler, int localid )
		{
			return new GumpResponse( section, handler, localid );
		}
Exemplo n.º 21
0
 public BaseGumpSection(BaseGumpSection parent, int mod_x, int mod_y) : this(parent != null ? parent.RootParent : null, mod_x, mod_y)
 {
     m_Parent = parent;
 }
Exemplo n.º 22
0
 public virtual void ConstructSection(BaseGumpSection section)
 {
     section.ActiveSections.Clear();
     section.Construct(m_ButtonCount, m_TextEntryCount, m_SwitchCount);
 }
Exemplo n.º 23
0
 public abstract void DisplayCategory( int x, int y, BaseGumpSection section, GumpResponse response );
Exemplo n.º 24
0
 public BaseGumpListSection(BaseGumpSection parent, int mod_x, int mod_y) : base(parent, mod_x, mod_y)
 {
 }
Exemplo n.º 25
0
 public virtual void SetActiveCategory( BaseGumpSection section )
 {
     m_ActiveCategory = section;
 }
Exemplo n.º 26
0
 public GumpResponse(BaseGumpSection section, GumpResponseHandler handler, int localid)
 {
     m_Section       = section;
     m_Handler       = handler;
     m_LocalButtonID = localid;
 }
Exemplo n.º 27
0
 public virtual void AddCategory(BaseGumpSection section)
 {
     m_Categories.Add(section);
 }