//Construct and make active the section public void ConstructSection(BaseGumpSection section) { if (section != null) { ConstructAddedSection(AddActiveSection(section)); } }
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; }
public abstract void DisplayCategory(int x, int y, BaseGumpSection section, GumpResponse response);
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) { }
public BaseGumpSection( BaseGumpSection parent, int mod_x, int mod_y ) : this( parent != null ? parent.RootParent : null, mod_x, mod_y ) { m_Parent = parent; }
public GumpResponse NewResponse( BaseGumpSection section, GumpResponseHandler handler ) { return new GumpResponse( section, handler, 0 ); }
//Construct already active section public virtual void ConstructAddedSection( BaseGumpSection section ) { section.ActiveSections.Clear(); section.Construct( m_ButtonCount, m_TextEntryCount, m_SwitchCount ); }
public GumpResponse( BaseGumpSection section, GumpResponseHandler handler, int localid ) { m_Section = section; m_Handler = handler; m_LocalButtonID = localid; }
public GumpResponse( BaseGumpSection section, GumpResponseHandler handler ) : this ( section, handler, 0 ) { }
public virtual void SetActiveCategory(BaseGumpSection section) { m_ActiveCategory = section; }
public BaseCategoryListSection(BaseGumpSection parent, int mod_x, int mod_y, int activecat) : this(parent, mod_x, mod_y) { m_DefaultActiveCategory = activecat; }
public virtual void AddCategory( BaseGumpSection section ) { m_Categories.Add( section ); }
public virtual BaseGumpSection AddActiveSection(BaseGumpSection section) { m_ActiveSections.Add(section); return(section); }
//Construct and make active the section public void ConstructSection( BaseGumpSection section ) { if ( section != null ) ConstructAddedSection( AddActiveSection( section ) ); }
public GumpResponse NewResponse(BaseGumpSection section, GumpResponseHandler handler) { return(new GumpResponse(section, handler, 0)); }
public virtual BaseGumpSection AddActiveSection( BaseGumpSection section ) { m_ActiveSections.Add( section ); return section; }
public virtual GumpResponse NewResponse(BaseGumpSection section, GumpResponseHandler handler, int localid) { return(new GumpResponse(section, handler, localid)); }
public virtual GumpResponse NewResponse( BaseGumpSection section, GumpResponseHandler handler, int localid ) { return new GumpResponse( section, handler, localid ); }
public BaseGumpSection(BaseGumpSection parent, int mod_x, int mod_y) : this(parent != null ? parent.RootParent : null, mod_x, mod_y) { m_Parent = parent; }
public virtual void ConstructSection(BaseGumpSection section) { section.ActiveSections.Clear(); section.Construct(m_ButtonCount, m_TextEntryCount, m_SwitchCount); }
public abstract void DisplayCategory( int x, int y, BaseGumpSection section, GumpResponse response );
public BaseGumpListSection(BaseGumpSection parent, int mod_x, int mod_y) : base(parent, mod_x, mod_y) { }
public virtual void SetActiveCategory( BaseGumpSection section ) { m_ActiveCategory = section; }
public GumpResponse(BaseGumpSection section, GumpResponseHandler handler, int localid) { m_Section = section; m_Handler = handler; m_LocalButtonID = localid; }
public virtual void AddCategory(BaseGumpSection section) { m_Categories.Add(section); }