RGB 1,0,1 for desktop panel and applauncher BGs

This commit is contained in:
Michael 2017-02-23 17:09:20 -05:00
parent dcc9d72046
commit 45ed8faac0
2 changed files with 10 additions and 1 deletions

View file

@ -873,7 +873,14 @@ Current legions: {legionname}";
{
if(second == true)
{
ServerManager.SendMessage("delete_save", JsonConvert.SerializeObject(new ClientSave
{
Username = SaveSystem.CurrentSave.Username,
Password = SaveSystem.CurrentSave.Password
}));
SaveSystem.CurrentSave = null;
ShiftOS.Objects.ShiftFS.Utils.Delete(Paths.GetPath("user.dat"));
TerminalBackend.InvokeCommand("sos.shutdown");
MessageBox.Show("Thank you for playing ShiftOS. Your save data has been deleted successfully. You can come back at anytime, but you will have to restart your game.");

View file

@ -250,8 +250,10 @@ namespace ShiftOS.WinForms
this.BackgroundImage = img;
}));
this.BackgroundImageLayout = GetImageLayout("desktopbackground");
desktoppanel.BackgroundImage = GetImage("desktoppanel");
desktoppanel.BackgroundImage = ((Bitmap)GetImage("desktoppanel"));
((Bitmap)desktoppanel.BackgroundImage).MakeTransparent(Color.FromArgb(1, 0, 1));
menuStrip1.BackgroundImage = GetImage("applauncher");
((Bitmap)menuStrip1.BackgroundImage).MakeTransparent(Color.FromArgb(1, 0, 1));
lbtime.ForeColor = LoadedSkin.DesktopPanelClockColor;
lbtime.Font = LoadedSkin.DesktopPanelClockFont;
if (desktoppanel.BackgroundImage == null)