Example #1
0
 protected XmlMedia(XmlDictionary dictionary, EMedia mediaType, string filename, ParentClass parent)
 {
     this.parent = parent;
     m_mediaIdentifier = mediaType;
     m_oDictionary = dictionary;
     m_filename = filename;
 }
Example #2
0
 internal XmlImage(XmlDictionary dictionary, string filename, int width, int height, bool active, ParentClass parent)
     : base(dictionary, EMedia.Image, filename, parent)
 {
     m_active = active;
     m_width = width;
     m_height = height;
 }
Example #3
0
 internal XmlAudio(XmlDictionary dictionary, string filename, bool active, bool defaultAudio, bool exampleAudio, ParentClass parent)
     : base(dictionary, EMedia.Audio, filename, parent)
 {
     m_active = active;
     m_default = defaultAudio;
     m_example = exampleAudio;
 }
Example #4
0
        internal XmlBoxes(XmlDictionary dictionary, ParentClass parent)
        {
            Parent = parent;
            m_Dictionary = dictionary;

            m_Box = new List<IBox>(dictionary.NumberOfBoxes + 1);
            for (int i = 0; i < dictionary.NumberOfBoxes + 1; i++) //including pool and box 10
            {
                m_Box.Add(new XmlBox(m_Dictionary, i, Parent.GetChildParentClass(this)));
            }
            m_Box[0].MaximalSize = Int32.MaxValue;
            m_Box[dictionary.NumberOfBoxes].MaximalSize = Int32.MaxValue;
        }
Example #5
0
 internal XmlVideo(XmlDictionary dictionary, string filename, bool active, ParentClass parent)
     : base(dictionary, EMedia.Video, filename, parent)
 {
     m_active = active;
 }
Example #6
0
 internal XmlImage(XmlDictionary dictionary, string filename, ParentClass parent)
     : base(dictionary, EMedia.Image, filename, parent)
 {
 }
Example #7
0
 internal XmlAudio(XmlDictionary dictionary, string filename, ParentClass parent)
     : base(dictionary, EMedia.Audio, filename, parent)
 {
 }