Example #1
0
 public static void Draw(this SpriteBatch spriteBatch, ButtonGroup control)
 {
     control.Draw(spriteBatch);
 }
Example #2
0
        public static ButtonGroup Create(IFont font, Vector2 position, Size buttonSize, string[] texts, ITexture2D textureAtlas, ContentManager content, ButtonGroupDirection direction)
        {
            var control = new ButtonGroup(font, position, buttonSize, texts, textureAtlas, content, direction);

            return(control);
        }