diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-21 15:39:58 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-21 15:39:58 +0200 |
| commit | dc995bd1da98971009454f4efe043d6237d00729 (patch) | |
| tree | 3af8d3a6745e9779edb71de29f3463898a3dedd0 /src/Colors.cs | |
| parent | 746f5cfb60c9a798825e31c2e362cfc817e59d44 (diff) | |
* OpenTK:
* OpenTKGameWindow.cs:
* Tests.csproj:
* GOLIBTest_4.cs:
* GOLIBTest_1.cs:
* Window.goml:
* Listbox.goml:
* test4.goml:
* GOLIBTest_Expandable.cs:
* testExpandable.goml: debug and test
* Colors.cs: debug argb->rgba
* CompilerServices.cs: value type conversion
* Border.cs: default border =1
* Checkbox.cs:
* Expandable.cs: changes in update technic
* Group.cs: Clipping debug (need rework)
* Label.cs: debug text positionning
* Slider.cs: debug
* TextBox.cs: selectable=true by default
Diffstat (limited to 'src/Colors.cs')
| -rwxr-xr-x | src/Colors.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Colors.cs b/src/Colors.cs index 2d428bae..96d17f2a 100755 --- a/src/Colors.cs +++ b/src/Colors.cs @@ -1021,11 +1021,11 @@ namespace go #region IXmlSerializable
public void ReadXml(System.Xml.XmlReader reader)
{
- string[] c = reader["Color"].Split(new char[] { ';' });
- A = double.Parse(c[0]);
- R = double.Parse(c[1]);
- G = double.Parse(c[2]);
- B = double.Parse(c[3]);
+ string[] c = reader["Color"].Split(new char[] { ';' });
+ R = double.Parse(c[0]);
+ G = double.Parse(c[1]);
+ B = double.Parse(c[2]);
+ A = double.Parse(c[3]);
}
public void WriteXml(System.Xml.XmlWriter writer)
{
|