I am trying to change the HUD colors (Sky and earth on the ADI) to be more consistent with that used on conventional Avionics. To be honest the green is not the color to use in most human factors studies…Brown or a shade of red is the preferred color. I went into the code and have not been able to find the resource or code that controls the default HUD back ground. Any help to point me in the right direction.
Thx in advance
Search for ‘draw ground’ in MissionPlanner\ExtLibs\Controls\HUD.cs
The command
LinearGradientBrush linearBrush = new LinearGradientBrush(bg, Color.FromArgb(0x9b, 0xb8, 0x24),
Color.FromArgb(0x41, 0x4f, 0x07), LinearGradientMode.Vertical);
creates a color gradient between the two colors specified in RGB notation. You probably want something more like
LinearGradientBrush linearBrush = new LinearGradientBrush(bg, Color.FromArgb(0x90, 0x40, 0x20),
Color.FromArgb(0xb0, 0x40, 0x10), LinearGradientMode.Vertical);
Why is green considered a bad color to use?
Hi mark.
Thanks for your Great Answer . Can you guide me How can i change the background image?