Exemplo n.º 1
0
        void FilenameLabelClick(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();

            ofd.ShowDialog();
            FFilenameIn.SetString(0, ofd.FileName);
        }
Exemplo n.º 2
0
 private void buildConfig()
 {
     FSelectionInput.SliceCount = selectedJoints.Count;
     for (int i = 0; i < selectedJoints.Count; i++)
     {
         FSelectionInput.SetString(i, selectedJoints[i].Name);
     }
 }
Exemplo n.º 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);
            }
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 5
0
 protected override void SetSlice(int index, string value)
 {
     FStringConfig.SetString(index, value);
 }