WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
List of color configurations from a ledcontrol.ini file. More...
Public Member Functions | |
ColorList | GetCabinetColorList () |
Gets a cabinet color list for the config colors contained in this list. More... | |
void | ParseLedControlData (IEnumerable< string > LedControlData, bool ThrowExceptions=true) |
Parses the led control data. More... | |
void | ParseLedControlData (string LedControlData, bool ThrowExceptions=true) |
Parses the led control data. More... | |
bool | Contains (string ColorName) |
Determines whether the list contains the specified color name. More... | |
Properties | |
ColorConfig | this[string Name] [get] |
Gets the ColorConfig for the specified name. More... | |
List of color configurations from a ledcontrol.ini file.
Definition at line 11 of file ColorConfigList.cs.
bool DirectOutput.LedControl.Loader.ColorConfigList.Contains | ( | string | ColorName | ) |
Determines whether the list contains the specified color name.
ColorName | Name of the color. |
true
if the list the specified color name; otherwise, false
. Definition at line 118 of file ColorConfigList.cs.
ColorList DirectOutput.LedControl.Loader.ColorConfigList.GetCabinetColorList | ( | ) |
Gets a cabinet color list for the config colors contained in this list.
Definition at line 39 of file ColorConfigList.cs.
void DirectOutput.LedControl.Loader.ColorConfigList.ParseLedControlData | ( | IEnumerable< string > | LedControlData, |
bool | ThrowExceptions = true |
||
) |
Parses the led control data.
LedControlData | The led control data. |
ThrowExceptions | if set to true [throw exceptions]. |
Definition at line 54 of file ColorConfigList.cs.
void DirectOutput.LedControl.Loader.ColorConfigList.ParseLedControlData | ( | string | LedControlData, |
bool | ThrowExceptions = true |
||
) |
Parses the led control data.
LedControlData | The led control data. |
ThrowExceptions | if set to true [throw exceptions]. |
System.Exception | Could not parse color config data {0}. or Color {0} has already been defined. |
Definition at line 76 of file ColorConfigList.cs.
|
get |
Gets the ColorConfig for the specified name.
Name | The name of the color config. |
Definition at line 20 of file ColorConfigList.cs.