Example #1
0
 public void DelLayer(TimelineLayer layer)
 {
     if (mLayers == null)
     {
         mLayers.Remove(layer);
     }
     layer.Dispose();
 }
Example #2
0
        public void NewLayer(string name = "New Layer")
        {
            TimelineLayer layer = new TimelineLayer(this);

            layer.Name = name;
            if (mLayers == null)
            {
                mLayers = new List <TimelineLayer>();
            }
            mLayers.Add(layer);
        }