Class InfoBoxButtonsColor
Info box writer with buttons and color support
Inheritance
Namespace: Terminaux.Inputs.Styles.Infobox
Assembly: Terminaux.dll
Syntax
public static class InfoBoxButtonsColor
Methods
| Edit this page View SourceWriteInfoBoxButtons(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 WriteInfoBoxButtons(string title, InputChoiceInfo[] buttons, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtons(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 WriteInfoBoxButtons(string title, InputChoiceInfo[] buttons, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtons(InputChoiceInfo[], string, params object[])
Writes the button info box
Declaration
public static int WriteInfoBoxButtons(InputChoiceInfo[] buttons, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtons(InputChoiceInfo[], string, InfoBoxSettings, params object[])
Writes the button info box
Declaration
public static int WriteInfoBoxButtons(InputChoiceInfo[] buttons, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtons(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 WriteInfoBoxButtons(InputChoiceInfo[] buttons, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtonsColor(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 WriteInfoBoxButtonsColor(string title, InputChoiceInfo[] buttons, string text, Color InfoBoxTitledButtonsColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
Color | InfoBoxTitledButtonsColor | InfoBoxTitledButtons 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 |
WriteInfoBoxButtonsColor(string, InputChoiceInfo[], string, BorderSettings, 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 WriteInfoBoxButtonsColor(string title, InputChoiceInfo[] buttons, string text, BorderSettings settings, Color InfoBoxTitledButtonsColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxTitledButtonsColor | InfoBoxTitledButtons 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 |
WriteInfoBoxButtonsColor(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 WriteInfoBoxButtonsColor(InputChoiceInfo[] buttons, string text, Color InfoBoxButtonsColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
Color | InfoBoxButtonsColor | InfoBoxButtons 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 |
WriteInfoBoxButtonsColor(InputChoiceInfo[], string, BorderSettings, 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 WriteInfoBoxButtonsColor(InputChoiceInfo[] buttons, string text, BorderSettings settings, Color InfoBoxButtonsColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxButtonsColor | InfoBoxButtons 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 |
WriteInfoBoxButtonsColorBack(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 WriteInfoBoxButtonsColorBack(string title, InputChoiceInfo[] buttons, string text, Color InfoBoxTitledButtonsColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
Color | InfoBoxTitledButtonsColor | InfoBoxTitledButtons color |
Color | BackgroundColor | InfoBoxTitledButtons 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 |
WriteInfoBoxButtonsColorBack(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 WriteInfoBoxButtonsColorBack(string title, InputChoiceInfo[] buttons, string text, BorderSettings settings, Color InfoBoxTitledButtonsColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxTitledButtonsColor | InfoBoxTitledButtons color |
Color | BackgroundColor | InfoBoxTitledButtons 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 |
WriteInfoBoxButtonsColorBack(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 WriteInfoBoxButtonsColorBack(InputChoiceInfo[] buttons, string text, Color InfoBoxButtonsColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
Color | InfoBoxButtonsColor | InfoBoxButtons color |
Color | BackgroundColor | InfoBoxButtons 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 |
WriteInfoBoxButtonsColorBack(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 WriteInfoBoxButtonsColorBack(InputChoiceInfo[] buttons, string text, BorderSettings settings, Color InfoBoxButtonsColor, Color BackgroundColor, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
string | text | Text to be written. |
BorderSettings | settings | Border settings to use |
Color | InfoBoxButtonsColor | InfoBoxButtons color |
Color | BackgroundColor | InfoBoxButtons 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 |
WriteInfoBoxButtonsPlain(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 WriteInfoBoxButtonsPlain(string title, InputChoiceInfo[] buttons, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtonsPlain(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 WriteInfoBoxButtonsPlain(string title, InputChoiceInfo[] buttons, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
string | title | Title to be written |
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtonsPlain(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 WriteInfoBoxButtonsPlain(InputChoiceInfo[] buttons, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |
WriteInfoBoxButtonsPlain(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 WriteInfoBoxButtonsPlain(InputChoiceInfo[] buttons, string text, BorderSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
InputChoiceInfo[] | buttons | Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections. |
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 |