Method DrawHotString
DrawHotString(ustring, Attribute, Attribute)
Utility function to draw strings that contain a hotkey.
public void DrawHotString(ustring text, Attribute hotColor, Attribute normalColor)
Parameters
textustringString to display, the hotkey specifier before a letter flags the next letter as the hotkey.
hotColorAttributeHot color.
normalColorAttributeNormal color.
Remarks
The hotkey is any character following the hotkey specifier, which is the underscore ('_') character by default.
The hotkey specifier can be changed via HotKeySpecifier
DrawHotString(ustring, bool, ColorScheme)
Utility function to draw strings that contains a hotkey using a ColorScheme and the "focused" state.
public void DrawHotString(ustring text, bool focused, ColorScheme scheme)
Parameters
textustringString to display, the underscore before a letter flags the next letter as the hotkey.
focusedboolIf set to true this uses the focused colors from the color scheme, otherwise the regular ones.
schemeColorSchemeThe color scheme to use.