コード例 #1
0
        void FilenameLabelClick(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            ofd.ShowDialog();
            FFilenameIn.SetString(0, ofd.FileName);
        }
コード例 #2
0
ファイル: SelectJoint.cs プロジェクト: vnmone/vvvv-sdk
 private void buildConfig()
 {
     FSelectionInput.SliceCount = selectedJoints.Count;
     for (int i = 0; i < selectedJoints.Count; i++)
     {
         FSelectionInput.SetString(i, selectedJoints[i].Name);
     }
 }
コード例 #3
0
        public override void SaveKeyFrames()
        {
            FStateTime.SliceCount   = FKeyFrames.Count;
            FStateName.SliceCount   = FKeyFrames.Count;
            FStateEvents.SliceCount = FKeyFrames.Count;

            FKeyFrames.Sort(delegate(TLBaseKeyFrame k0, TLBaseKeyFrame k1) { return(k0.Time.CompareTo(k1.Time)); });

            for (int i = 0; i < FKeyFrames.Count; i++)
            {
                FStateTime.SetValue(i, FKeyFrames[i].Time);
                FStateName.SetString(i, (FKeyFrames[i] as TLStateKeyFrame).Name);
                FStateEvents.SetString(i, (FKeyFrames[i] as TLStateKeyFrame).EventsAsString);
            }
        }
コード例 #4
0
        public override void SaveKeyFrames()
        {
            FKeyTime.SliceCount  = FKeyFrames.Count;
            FKeyFlagY.SliceCount = FKeyFrames.Count;
            FKeyValue.SliceCount = FKeyFrames.Count;

            FKeyFrames.Sort(delegate(TLBaseKeyFrame k0, TLBaseKeyFrame k1) { return(k0.Time.CompareTo(k1.Time)); });

            for (int i = 0; i < FKeyFrames.Count; i++)
            {
                FKeyTime.SetValue(i, FKeyFrames[i].Time);
                FKeyFlagY.SetValue(i, (FKeyFrames[i] as TLStringKeyFrame).PositionY);
                FKeyValue.SetString(i, (FKeyFrames[i] as TLStringKeyFrame).Value);
            }
        }
コード例 #5
0
 protected override void SetSlice(int index, string value)
 {
     FStringConfig.SetString(index, value);
 }