public static TextButton Create(OdgeComponent parent, string text, EventHandler func) { return(new TextButton(parent.Style.Clone(), text, func)); }
public static ImageButton Create(OdgeComponent parent, Texture2D image, EventHandler func) { return(new ImageButton(parent.Style.Clone(), image, func)); }