Beispiel #1
0
 /// <summary>
 ///  Merge the specified UIConfigSystem into this one.
 /// </summary>
 /// <param name="config">A UIConfigSystem to merge</param>
 public void Merge(UIConfigSystem config)
 {
     fontField                = config.fontField ?? fontField;
     selectioncolourField     = config.selectioncolourField ?? selectioncolourField;
     selectiontextcolourField = config.selectiontextcolourField ?? selectiontextcolourField;
     forecolourField          = config.forecolourField ?? forecolourField;
     linkcolourField          = config.linkcolourField ?? linkcolourField;
     countcolourField         = config.countcolourField ?? countcolourField;
     countcolourtextField     = config.countcolourtextField ?? countcolourtextField;
     infobarcolourField       = config.infobarcolourField ?? infobarcolourField;
     infobartextcolourField   = config.infobartextcolourField ?? infobartextcolourField;
     edgecolourField          = config.edgecolourField ?? edgecolourField;
     splitterbarcolourField   = config.splitterbarcolourField ?? splitterbarcolourField;
     toolbarcolourField       = config.toolbarcolourField ?? toolbarcolourField;
 }
Beispiel #2
0
 /// <summary>
 ///  Merge the specified UIConfigSystem into this one.
 /// </summary>
 /// <param name="config">A UIConfigSystem to merge</param>
 public void Merge(UIConfigSystem config)
 {
     fontField = config.fontField ?? fontField;
     selectioncolourField = config.selectioncolourField ?? selectioncolourField;
     selectiontextcolourField = config.selectiontextcolourField ?? selectiontextcolourField;
     forecolourField = config.forecolourField ?? forecolourField;
     linkcolourField = config.linkcolourField ?? linkcolourField;
     countcolourField = config.countcolourField ?? countcolourField;
     countcolourtextField = config.countcolourtextField ?? countcolourtextField;
     infobarcolourField = config.infobarcolourField ?? infobarcolourField;
     infobartextcolourField = config.infobartextcolourField ?? infobartextcolourField;
     edgecolourField = config.edgecolourField ?? edgecolourField;
     splitterbarcolourField = config.splitterbarcolourField ?? splitterbarcolourField;
     toolbarcolourField = config.toolbarcolourField ?? toolbarcolourField;
 }