//! 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); }
//! 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); }
//! 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); }