Class KeybindingTools
Keybinding tools
Inheritance
object
KeybindingTools
Namespace: Terminaux.Writer.CyclicWriters.Renderer.Tools
Assembly: Terminaux.dll
Syntax
public static class KeybindingTools
Methods
| Edit this page View SourceRenderKeybindingHelpText(Keybinding[])
Renders the keybinding help text
Declaration
public static string RenderKeybindingHelpText(Keybinding[] keybindings)
Parameters
Type | Name | Description |
---|---|---|
Keybinding[] | keybindings | Keybindings (including the built-in ones) |
Returns
Type | Description |
---|---|
string | Rendered keybindings help text that you can render for infoboxes. |
ShowKeybindingInfobox(Keybinding[], params object[])
Shows the keybinding information box
Declaration
public static void ShowKeybindingInfobox(Keybinding[] keybindings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
Keybinding[] | keybindings | Keybindings (including the built-in ones) |
object[] | vars | Variables to format the message before it's written. |
ShowKeybindingInfobox(Keybinding[], InfoBoxSettings, params object[])
Shows the keybinding information box
Declaration
public static void ShowKeybindingInfobox(Keybinding[] keybindings, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
Keybinding[] | keybindings | Keybindings (including the built-in ones) |
InfoBoxSettings | settings | Infobox settings to use |
object[] | vars | Variables to format the message before it's written. |