/// <summary> /// The draw audio player. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="layout"> /// The layout. /// </param> /// <param name="audioPlayer"> /// The audio player. /// </param> public void DrawAudioPlayer(IRenderContext context, Rectangle layout, AudioPlayer audioPlayer) { this.DrawSunken(context, layout); if (audioPlayer.Audio != null && audioPlayer.Audio.PlatformData != null) { this.m_RenderUtilities.RenderText( context, new Vector2(layout.Center.X, layout.Center.Y + 12), "No visualization available.", this.m_AssetManager.Get<FontAsset>("font.Default"), HorizontalAlignment.Center, VerticalAlignment.Center); } }
public void DrawAudioPlayer(IRenderContext context, Rectangle layout, AudioPlayer audioPlayer) { this.m_BasicSkin.DrawAudioPlayer(context, layout, audioPlayer); }