using Annulus; using Azimuth; using System; using System.Collections.Generic; namespace Glass.Testbed { /// /// A guided tour whose spotlight the user can move or dismiss, so it needs a Setup to put itself back. /// public class SpotlightTestCase : TestCase { /// /// Sits below whatever it is a child of, which under a Spotlight is the highlighted control. /// private class CoachMark : Panel { public Vector Offset { get; set; } public override void Update(TimeSpan elapsed, UpdateState state) { base.Update(elapsed, state); Bounds = Rect.FromPositionAndSize( new Vector(0, state.ParentClientRect.Height) + Offset, Bounds.Size); } } private static readonly Vector ButtonSize = new Vector(190, 56); private static readonly Vector CoachButtonSize = new Vector(140, 44); private readonly List