Пример #1
0
        //! Function that handles the LookNFeel XML element.
        private void elementLookNFeelStart(XMLAttributes attributes)
        {
            var lnf = new Scheme.LoadableUIElement();

            lnf.filename      = attributes.GetValueAsString(FilenameAttribute);
            lnf.resourceGroup = attributes.GetValueAsString(ResourceGroupAttribute);

            d_scheme.d_looknfeels.Add(lnf);
        }
Пример #2
0
        //! Function that handles the Font XML element.
        private void elementFontStart(XMLAttributes attributes)
        {
            var font = new Scheme.LoadableUIElement();

            font.name          = attributes.GetValueAsString(NameAttribute);
            font.filename      = attributes.GetValueAsString(FilenameAttribute);
            font.resourceGroup = attributes.GetValueAsString(ResourceGroupAttribute);

            d_scheme.d_fonts.Add(font);
        }
Пример #3
0
        //! Function that handles the ImagesetFromImage XML element.
        private void elementImagesetFromImageStart(XMLAttributes attributes)
        {
            var imageset = new Scheme.LoadableUIElement();

            imageset.filename      = attributes.GetValueAsString(FilenameAttribute);
            imageset.name          = attributes.GetValueAsString(NameAttribute, imageset.filename);
            imageset.resourceGroup = attributes.GetValueAsString(ResourceGroupAttribute);

            d_scheme.d_imagesetsFromImages.Add(imageset);
        }