using System.Collections.Generic; using JD.Reflection.Attributes; using TeaBox; using TeaBox.Gui; namespace JD.Timeline.Model { [Export(typeof(IHintProvider))] class TimelineHints : IHintProvider { public IEnumerable Hints { get { var hint = new Hint(); hint.Add("On the timeline, use the wheel"); hint.AddMouseMiddleKey(); hint.Add("to"); hint.Add("zoom", true); hint.Add("or"); hint.Add("unzoom", true); yield return hint; hint = new Hint(); hint.Add("Press"); hint.AddKey("Shift"); hint.Add(" and use the wheel"); hint.AddMouseMiddleKey(); hint.Add("to resize the"); hint.Add("tracks", true); yield return hint; hint = new Hint(); hint.Add("On the timeline, press"); hint.AddKey("Z"); hint.Add("to zoom on the"); hint.Add("selected clips,", true); hint.Add("selecting nothing zooms on"); hint.Add("all", true); yield return hint; hint = new Hint(); hint.Add("On the timeline, press"); hint.AddKey("PgDn"); hint.Add("or"); hint.AddKey("PgUp"); hint.Add("to go to the"); hint.Add("Previous or Next", true); hint.Add("frame"); yield return hint; hint = new Hint(); hint.Add("If you have trouble with one of the tools,"); hint.Add("ask", true); hint.Add("for help to the"); hint.Add("Tools team", true); hint.Add("(JDSupport@ubisoft.com)"); yield return hint; hint = new Hint(); hint.Add("Press"); hint.AddKey("Insert"); hint.Add("key to create a new Clip"); yield return hint; hint = new Hint(); hint.Add("Press"); hint.AddKey("Enter"); hint.Add("key to set your checkpoint, and press"); hint.AddKey("Back"); hint.Add("to jump to it."); yield return hint; } } } }