コード例 #1
0
 public AddEmptyNode(ProjectView.ProjectView view, ObiNode node, ObiNode parent, int index)
     : base(view, node, parent, index)
 {
     mControl = view.Selection.Control;
     SetDescriptions(Localizer.Message("add_blank_phrase"));
 }
コード例 #2
0
        public IControlWithSelection Control;  // control in which it is selected

        /// <summary>
        /// Create a new selection object.
        /// </summary>
        public NodeSelection(ObiNode node, IControlWithSelection control)
        {
            Node    = node;
            Control = control;
        }
コード例 #3
0
 public AudioSelection(PhraseNode node, IControlWithSelection control, AudioRange audioRange)
     : base(node, control)
 {
     mAudioRange = audioRange;
 }
コード例 #4
0
        private int mIndex;  // cursor index in the strip

        public StripIndexSelection(SectionNode node, IControlWithSelection control, int index)
            : base(node, control)
        {
            mIndex = index;
        }
コード例 #5
0
 public TextSelection(SectionNode node, IControlWithSelection control, string text)
     : base(node, control)
 {
     mText = text;
 }