protected void MakeButtonAt(string text, int width, int height, Font font, Anchor verAnchor, int x, int y, Action <int, int> onClick) { WidgetConstructors.MakeButtonAt(game, widgets, ref widgetIndex, text, width, height, font, Anchor.Centre, verAnchor, x, y, onClick); }
protected void MakeButtonAt(string text, int width, int height, Font font, Anchor horAnchor, Anchor verAnchor, int x, int y) { WidgetConstructors.MakeButtonAt(game, widgets, ref widgetIndex, text, width, height, font, horAnchor, verAnchor, x, y, null); }
protected void MakeBooleanAt(Anchor horAnchor, Anchor verAnchor, Font font, bool initValue, int width, int height, int x, int y) { WidgetConstructors.MakeBooleanAt(game, widgets, ref widgetIndex, horAnchor, verAnchor, font, initValue, width, height, x, y, null); }
protected void MakeInput(string text, int width, Anchor horAnchor, Anchor verAnchor, bool password, int x, int y, int maxChars, string hint) { WidgetConstructors.MakeInput(game, widgets, ref widgetIndex, text, width, horAnchor, verAnchor, inputFont, inputHintFont, null, password, x, y, maxChars, hint); }
protected void MakeLabelAt(string text, Font font, Anchor horAnchor, Anchor verAnchor, int x, int y) { WidgetConstructors.MakeLabelAt(game, widgets, ref widgetIndex, text, font, horAnchor, verAnchor, x, y); }