Class InfoBoxSliderColor
Info box writer with slider and color support
Inheritance
object
InfoBoxSliderColor
Namespace: Terminaux.Inputs.Styles.Infobox
Assembly: Terminaux.dll
Syntax
public static class InfoBoxSliderColor
Methods
| Edit this page View SourceWriteInfoBoxSlider(int, int, string, int, params object[])
Writes the slider info box
Declaration
public static int WriteInfoBoxSlider(int currentPos, int maxPos, string text, int minPos = 0, params object[] vars)
Parameters
| Type | Name | Description |
|---|---|---|
| int | currentPos | Current position out of maximum position |
| int | maxPos | Maximum position |
| string | text | Text to be written. |
| int | minPos | Maximum position |
| object[] | vars | Variables to format the message before it's written. |
Returns
| Type | Description |
|---|---|
| int |
WriteInfoBoxSlider(int, int, string, InfoBoxSettings, int, params object[])
Writes the slider info box
Declaration
public static int WriteInfoBoxSlider(int currentPos, int maxPos, string text, InfoBoxSettings settings, int minPos = 0, params object[] vars)
Parameters
| Type | Name | Description |
|---|---|---|
| int | currentPos | Current position out of maximum position |
| int | maxPos | Maximum position |
| string | text | Text to be written. |
| InfoBoxSettings | settings | Infobox settings to use |
| int | minPos | Maximum position |
| object[] | vars | Variables to format the message before it's written. |
Returns
| Type | Description |
|---|---|
| int |