Class InfoBoxSelectionColor
Info box writer with selection and color support
Inheritance
Namespace: Terminaux.Inputs.Styles.Infobox
Assembly: Terminaux.dll
Syntax
public static class InfoBoxSelectionColor
Methods
| Edit this page View SourceWriteInfoBoxSelection(string, InputChoiceCategoryInfo[], string, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelection(string title, InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(string, InputChoiceCategoryInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelection(string title, InputChoiceCategoryInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(string, InputChoiceInfo[], string, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelection(string title, InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(string, InputChoiceInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelection(string title, InputChoiceInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(InputChoiceCategoryInfo[], string, params object[])
Writes the single-choice selection info box
Declaration
public static int WriteInfoBoxSelection(InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])
Writes the single-choice selection info box
Declaration
public static int WriteInfoBoxSelection(InputChoiceCategoryInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
InfoBoxSettings | settings | Infobox settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(InputChoiceCategoryInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelection(InputChoiceCategoryInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(InputChoiceInfo[], string, params object[])
Writes the single-choice selection info box
Declaration
public static int WriteInfoBoxSelection(InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(InputChoiceInfo[], string, InfoBoxSettings, params object[])
Writes the single-choice selection info box
Declaration
public static int WriteInfoBoxSelection(InputChoiceInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
InfoBoxSettings | settings | Infobox settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelection(InputChoiceInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelection(InputChoiceInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColor(string, InputChoiceCategoryInfo[], string, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColor(string title, InputChoiceCategoryInfo[] selections, string text, Color InfoBoxTitledSelectionColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxTitledSelectionColor | InfoBoxTitledSelection color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColor(string, InputChoiceInfo[], string, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColor(string title, InputChoiceInfo[] selections, string text, Color InfoBoxTitledSelectionColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxTitledSelectionColor | InfoBoxTitledSelection color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColor(InputChoiceCategoryInfo[], string, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColor(InputChoiceCategoryInfo[] selections, string text, Color InfoBoxSelectionColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxSelectionColor | InfoBoxSelection color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColor(InputChoiceInfo[], string, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColor(InputChoiceInfo[] selections, string text, Color InfoBoxSelectionColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxSelectionColor | InfoBoxSelection color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(string, InputChoiceCategoryInfo[], string, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(string title, InputChoiceCategoryInfo[] selections, string text, Color InfoBoxTitledSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxTitledSelectionColor | InfoBoxTitledSelection color |
Color | BackgroundColor | InfoBoxTitledSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(string, InputChoiceCategoryInfo[], string, BorderSettings, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(string title, InputChoiceCategoryInfo[] selections, string text, BorderSettings settings, Color InfoBoxTitledSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxTitledSelectionColor | InfoBoxTitledSelection color |
Color | BackgroundColor | InfoBoxTitledSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(string, InputChoiceInfo[], string, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(string title, InputChoiceInfo[] selections, string text, Color InfoBoxTitledSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxTitledSelectionColor | InfoBoxTitledSelection color |
Color | BackgroundColor | InfoBoxTitledSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(string, InputChoiceInfo[], string, BorderSettings, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(string title, InputChoiceInfo[] selections, string text, BorderSettings settings, Color InfoBoxTitledSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxTitledSelectionColor | InfoBoxTitledSelection color |
Color | BackgroundColor | InfoBoxTitledSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(InputChoiceCategoryInfo[], string, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(InputChoiceCategoryInfo[] selections, string text, Color InfoBoxSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxSelectionColor | InfoBoxSelection color |
Color | BackgroundColor | InfoBoxSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(InputChoiceCategoryInfo[], string, BorderSettings, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(InputChoiceCategoryInfo[] selections, string text, BorderSettings settings, Color InfoBoxSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxSelectionColor | InfoBoxSelection color |
Color | BackgroundColor | InfoBoxSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(InputChoiceInfo[], string, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(InputChoiceInfo[] selections, string text, Color InfoBoxSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
Color | InfoBoxSelectionColor | InfoBoxSelection color |
Color | BackgroundColor | InfoBoxSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionColorBack(InputChoiceInfo[], string, BorderSettings, Color, Color, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionColorBack(InputChoiceInfo[] selections, string text, BorderSettings settings, Color InfoBoxSelectionColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxSelectionColor | InfoBoxSelection color |
Color | BackgroundColor | InfoBoxSelection background color |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(string, InputChoiceCategoryInfo[], string, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(string title, InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(string, InputChoiceCategoryInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(string title, InputChoiceCategoryInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(string, InputChoiceInfo[], string, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(string title, InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(string, InputChoiceInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(string title, InputChoiceInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(InputChoiceCategoryInfo[], string, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(InputChoiceCategoryInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(InputChoiceCategoryInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceCategoryInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(InputChoiceInfo[], string, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |
WriteInfoBoxSelectionPlain(InputChoiceInfo[], string, BorderSettings, params object[])
Writes the info box plainly
Declaration
[Obsolete("This legacy function is to be removed from the final release of Terminaux 7.0. While you can use this in Beta 3, please move all settings to InfoBoxSettings. This is done to clean up the legacy codebase.")]
public static int WriteInfoBoxSelectionPlain(InputChoiceInfo[] selections, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | selections | List of choices |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
object[] | vars | Variables to format the message before it's written. |
Returns
Type | Description |
---|---|
int | Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred |