Ejemplo n.º 1
0
 /**
  * Go through our child records, picking out the ones that are
  *  interesting, and saving those for use by the easy helper
  *  methods.
  */
 private void FindInterestingChildren()
 {
     // First child should be the ExMediaAtom
     if (_children[0] is AnimationInfoAtom)
     {
         animationAtom = (AnimationInfoAtom)_children[0];
     }
 }
Ejemplo n.º 2
0
        /**
         * Go through our child records, picking out the ones that are
         *  interesting, and saving those for use by the easy helper
         *  methods.
         */
        private void FindInterestingChildren()
        {

            // First child should be the ExMediaAtom
            if (_children[0] is AnimationInfoAtom)
            {
                animationAtom = (AnimationInfoAtom)_children[0];
            }
        }
Ejemplo n.º 3
0
        /**
         * Create a new AnimationInfo, with blank fields
         */
        public AnimationInfo()
        {
            // Setup our header block
            _header = new byte[8];
            _header[0] = 0x0f; // We are a Container record
            LittleEndian.PutShort(_header, 2, (short)RecordType);

            _children = new Record[1];
            _children[0] = animationAtom = new AnimationInfoAtom();
        }
Ejemplo n.º 4
0
        /**
         * Create a new AnimationInfo, with blank fields
         */
        public AnimationInfo()
        {
            // Setup our header block
            _header    = new byte[8];
            _header[0] = 0x0f; // We are a Container record
            LittleEndian.PutShort(_header, 2, (short)RecordType);

            _children    = new Record[1];
            _children[0] = animationAtom = new AnimationInfoAtom();
        }