示例#1
0
        public ITransitionStyle Create(OverlayPlugin manager, XmlNode node)
        {
            Logger.Info("Creating Bitmap Window Transition");
            double length = GetDouble(node, 5000.0, "Length");
            IFeatureTransitionFactory transition = manager.GetImageTransitionFactory(node, "transition style", "Style");

            if (transition == null)
            {
                Logger.Debug("Unable to look up custom transition for transition style. Using default, fade.");
                transition = new FeatureFadeFactory();
            }
            return(new FeatureFrameTransitionFactory(transition, length));
        }