public ButtonPlus(int x, int y, int normalID, int pressedID, int buttonID, string name, GumpCallback back) : base(x, y, normalID, pressedID, buttonID, GumpButtonType.Reply, 0) { c_Name = name; c_Callback = back; c_Param = ""; }
public void AddButton(int x, int y, int up, int down, string name, GumpCallback callback) { int id = UniqueButton(); ButtonPlus button = new ButtonPlus(x, y, up, down, id, name, callback); Add(button); c_Buttons[id] = button; }
public void AddButton(int x, int y, int up, int down, GumpCallback callback) { AddButton(x, y, up, down, "None", callback); }
public void AddButton(int x, int y, int id, string name, GumpCallback callback) { AddButton(x, y, id, id, name, callback); }
public void AddButton(int x, int y, int id, GumpCallback callback) { AddButton(x, y, id, id, "None", callback); }
public void AddButton(int x, int y, int up, int down, string name, GumpCallback callback) { int id = UniqueButton(); ButtonPlus button = new ButtonPlus( x, y, up, down, id, name, callback ); Add( button ); c_Buttons[id] = button; }
public ButtonPlus(int x, int y, int normalID, int pressedID, int buttonID, string name, GumpCallback back) : base(x, y, normalID, pressedID, buttonID, GumpButtonType.Reply, 0) { m_Name = name; m_Callback = back; m_Param = ""; }