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
text
ustringString to display, the hotkey specifier before a letter flags the next letter as the hotkey.
hotColor
AttributeHot color.
normalColor
AttributeNormal 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
text
ustringString to display, the underscore before a letter flags the next letter as the hotkey.
focused
boolIf set to true this uses the focused colors from the color scheme, otherwise the regular ones.
scheme
ColorSchemeThe color scheme to use.