Exemple #1
0
        public override void draw(SpriteBatch spriteBatch)
        {
            left.draw(spriteBatch);
            right.draw(spriteBatch);

            spriteBatch.DrawString(font, selections[index], position, color, rotation, origin, scale, SpriteEffects.None, 0.5f);
        }
        public override void draw(SpriteBatch spriteBatch)
        {
            if (albumArt == null)
            {
                spriteBatch.Draw(noArt, boundingBox, null, color, rotation, origin, SpriteEffects.None, 0.5f);
            }
            else
            {
                spriteBatch.Draw(noArt, boundingBox, null, color, rotation, origin, SpriteEffects.None, 0.5f);
            }

            spriteBatch.DrawString(font, artist, artistVector, textColor);
            spriteBatch.DrawString(font, album, albumVector, textColor);
            spriteBatch.DrawString(font, song, songVector, textColor);

            playPause.draw(spriteBatch);
            stop.draw(spriteBatch);
            next.draw(spriteBatch);
            previous.draw(spriteBatch);
            shuffle.draw(spriteBatch);
            repeat.draw(spriteBatch);
        }