public MenuItem() { mPosition = new Vector2(); mItemRectDiag = new Vector2(); mParent = null; mItemFunction = () => { }; }
public TextInputItem(SpriteFont font, String text, ItemActivateDelegate del) { mText = text; focus = false; mItemRectDiag = font.MeasureString(text); mItemFunction = del; }
public override void Link(ItemActivateDelegate activation) { mItemFunction = activation; }
public ButtonItem(SpriteFont font, String text, ItemActivateDelegate del) { mText = text; mItemRectDiag = font.MeasureString(text); mItemFunction = del; }
virtual public void Link(ItemActivateDelegate activation) { mItemFunction = activation; }