Example #1
0
        private void OnAddAnimKeyClicked(object sender, EventArgs e)
        {
            AnimationTrack animTrack = listView4.Tag as AnimationTrack;
            if (animTrack == null)
                return;

            AnimationKey animKey = new AnimationKey();
            SettingDlg dlg = new SettingDlg("New Animation Key", animKey);
            if (dlg.ShowDialog() != DialogResult.OK)
                return;

            animTrack.AnimKeys.Add(animKey);

            ShowAnimationTrack(animTrack);

            listView3.Items[listView3.Items.Count - 1].Selected = true;
        }
Example #2
0
 void ShowAnimationKey(AnimationKey animKey)
 {
 }
Example #3
0
        public void SetTimePosition(int time)
        {
            mCachedKey = CacheAnimationKey(time);

            // set the sub tracks.
            foreach (AnimationTrack track in mAnimTracks)
                track.SetTimePosition(time);
        }