public NormalViewSetInfoAtom(BinaryReader _reader, uint size, uint typeCode, uint version, uint instance) : base(_reader, size, typeCode, version, instance) { leftPortion = new RatioStruct(Reader); topPortion = new RatioStruct(Reader); vertBarState = Reader.ReadByte(); horizBarState = Reader.ReadByte(); byte temp = Reader.ReadByte(); fHideThumbnails = Tools.Utils.BitmaskToBool(temp, 0x1); fBarSnapped = Tools.Utils.BitmaskToBool(temp, 0x1 << 1); }
public ScalingStruct(BinaryReader _reader) { x = new RatioStruct(_reader); y = new RatioStruct(_reader); }