Esempio n. 1
0
        public NormalViewSetInfoAtom(BinaryReader _reader, uint size, uint typeCode, uint version, uint instance)
            : base(_reader, size, typeCode, version, instance)
        {
            this.leftPortion   = new RatioStruct(this.Reader);
            this.topPortion    = new RatioStruct(this.Reader);
            this.vertBarState  = this.Reader.ReadByte();
            this.horizBarState = this.Reader.ReadByte();

            byte temp = this.Reader.ReadByte();

            this.fHideThumbnails = Tools.Utils.BitmaskToBool(temp, 0x1);
            this.fBarSnapped     = Tools.Utils.BitmaskToBool(temp, 0x1 << 1);
        }
Esempio n. 2
0
 public ScalingStruct(BinaryReader _reader)
 {
     this.x = new RatioStruct(_reader);
     this.y = new RatioStruct(_reader);
 }