Exemple #1
0
 /// <summary>
 /// Merge the specified UIConfigMenu into this one.
 /// </summary>
 /// <param name="config">A UIConfigMenu to merge</param>
 public void Merge(UIConfigMenu config)
 {
     backcolourField     = config.backcolourField ?? backcolourField;
     fontField           = config.fontField ?? fontField;
     forecolourField     = config.forecolourField ?? forecolourField;
     inactivecolourField = config.inactivecolourField ?? inactivecolourField;
 }
Exemple #2
0
 /// <summary>
 /// Merge the specified UIConfigMenu into this one.
 /// </summary>
 /// <param name="config">A UIConfigMenu to merge</param>
 public void Merge(UIConfigMenu config)
 {
     backcolourField = config.backcolourField ?? backcolourField;
     fontField = config.fontField ?? fontField;
     forecolourField = config.forecolourField ?? forecolourField;
     inactivecolourField = config.inactivecolourField ?? inactivecolourField;
 }