aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs
diff options
context:
space:
mode:
authorFloppyDiskDrive <[email protected]>2017-10-01 09:52:26 -0500
committerFloppyDiskDrive <[email protected]>2017-10-01 09:52:26 -0500
commitaa44f27eab230f464e9778a4256c330a056a7b3c (patch)
treee6fbc5ac67890b11293f682c279ff7670ecef8cf /ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs
parentc23e42cc396d4fc55799d659bae2149cc183dbf6 (diff)
downloadshiftos-rewind-aa44f27eab230f464e9778a4256c330a056a7b3c.tar.gz
shiftos-rewind-aa44f27eab230f464e9778a4256c330a056a7b3c.tar.bz2
shiftos-rewind-aa44f27eab230f464e9778a4256c330a056a7b3c.zip
Revert "Added a fuckton of changes"
This reverts commit c23e42cc396d4fc55799d659bae2149cc183dbf6.
Diffstat (limited to 'ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs')
-rw-r--r--ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs b/ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs
index 5eb5faa..697e22e 100644
--- a/ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs
+++ b/ShiftOS.Main/ShiftOS/Apps/ShifterStuff/SelectColor.cs
@@ -27,12 +27,12 @@ namespace ShiftOS.Main.ShiftOS.Apps
}
catch(FormatException ex)
{
- ShiftWM.StartInfoboxSession("Error!", "Failed to parse integer. Error:\n" + ex, InfoboxTemplate.ButtonType.Ok, InfoboxTemplate.ErrorIcon.Critical);
+ ShiftWM.StartInfoboxSession("Error!", "Failed to parse integer. Error:\n" + ex, InfoboxTemplate.ButtonType.Ok);
}
if (_colorType1 > 255 || _colorType2 > 255 || _colorType3 > 255)
{
- ShiftWM.StartInfoboxSession("Error!", "A value cannot be greater than 255!", InfoboxTemplate.ButtonType.Ok, InfoboxTemplate.ErrorIcon.Critical);
+ ShiftWM.StartInfoboxSession("Error!", "A value cannot be greater than 255!", InfoboxTemplate.ButtonType.Ok);
}
else
{
@@ -40,12 +40,12 @@ namespace ShiftOS.Main.ShiftOS.Apps
{
ShiftWindow sw = new ShiftWindow();
_finalColor = Color.FromArgb(_colorType1, _colorType2, _colorType3);
- ShiftWM.SetTitleBarColor(_finalColor);
- ShiftWM.StartInfoboxSession("Success!", "Changed color to:\n" + _colorType1.ToString() + ", " + _colorType2.ToString() + ", " + _colorType3.ToString() + ".", InfoboxTemplate.ButtonType.Ok, InfoboxTemplate.ErrorIcon.Info);
+ BackColor = _finalColor;
+ ShiftWM.StartInfoboxSession("Success!", "Changed color to:\n" + _colorType1.ToString() + ", " + _colorType2.ToString() + ", " + _colorType3.ToString() + ".", InfoboxTemplate.ButtonType.Ok);
}
catch (Exception)
{
- ShiftWM.StartInfoboxSession("Error!", "An error occured while setting the color.", InfoboxTemplate.ButtonType.Ok, InfoboxTemplate.ErrorIcon.Critical);
+ ShiftWM.StartInfoboxSession("Error!", "An error occured while setting the color.", InfoboxTemplate.ButtonType.Ok);
}
}
}