Server.Gumps.SetBodyGump.AddTypeButton C# (CSharp) Méthode

AddTypeButton() public méthode

public AddTypeButton ( int x, int y, int buttonID, string text, ModelBodyType type ) : void
x int
y int
buttonID int
text string
type ModelBodyType
Résultat void
		public void AddTypeButton( int x, int y, int buttonID, string text, ModelBodyType type )
		{
			bool isSelection = (m_OurType == type);

			AddButton( x, y - 1, isSelection ? 4006 : 4005, 4007, buttonID, GumpButtonType.Reply, 0 );
			AddHtml( x + 35, y, 200, 20, Color( text, isSelection ? SelectedColor32 : LabelColor32 ), false, false );
		}