internal PassGroup ConvertToPSD()
 {
     PassGroup resGroup = new PassGroup();
     FillGroupInfo(resGroup);
     resGroup.PassGroups = GetSubgroups();
     resGroup.Passwords = GetPasses();
     return resGroup;
 }
Ejemplo n.º 2
0
        internal PassGroup ConvertToPSD()
        {
            PassGroup resGroup = new PassGroup();

            FillGroupInfo(resGroup);
            resGroup.PassGroups = GetSubgroups();
            resGroup.Passwords  = GetPasses();
            return(resGroup);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DrawingContext"/> class.
        /// </summary>
        public DrawingContext(GraphicsDevice graphics, ISpatialQuery spatialQuery)
        {
            if (graphics == null)
            {
                throw new ArgumentNullException("graphics");
            }
            if (spatialQuery == null)
            {
                throw new ArgumentNullException("spatialQuery");
            }

            this.graphics        = graphics;
            this.spatialQuery    = spatialQuery;
            this.BackgroundColor = new Color(95, 120, 157);
            this.drawables       = spatialQuery.CreateSpatialQuery <IDrawableObject>(drawable => drawable.OnAddedToView(this));

            this.matrices = new MatrixCollection();
            this.textures = new TextureCollection();
            this.rootPass = new PassGroup();
            this.rootPass.Passes.Add(new SpritePass());
        }
Ejemplo n.º 4
0
 public Base()
 {
     PassGroup = new PassGroup();
 }
 private void FillGroupInfo(PassGroup group)
 {
     group.Name = _kpGroup.Name;
     group.Notes = _kpGroup.Notes;
     group.UUID = _kpGroup.Uuid.ToHexString();
 }
Ejemplo n.º 6
0
 private void FillGroupInfo(PassGroup group)
 {
     group.Name  = _kpGroup.Name;
     group.Notes = _kpGroup.Notes;
     group.UUID  = _kpGroup.Uuid.ToHexString();
 }