ui/richtext/RichTextReload.cs

A small RichText panel definition for matching reload-related words in UI rich text. It specifies an icon (empty) and a color for matched text. It inherits from RichTextBase and is attributed with a regex to match 'reload' or 'reloading'.

[RichTextPanel( @"\b[Rr]eload(s|ing)?\b" )]
public class RichTextReload : RichTextBase
{
	//public override string ImagePath => "textures/ui/reload.png";
	public override string Icon => "";

	public override Color Color => new Color( 0.75f, 0.25f, 0.25f );
}