Esempio n. 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;
 }
Esempio n. 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;
 }