Half of having choices of music and a player of it (not finished)

This commit is contained in:
alzeih
2010-05-05 23:06:42 +12:00
parent acf55f1bb0
commit 30ee0afdc0
7 changed files with 88 additions and 6 deletions

View File

@@ -42,6 +42,18 @@ namespace OpenRA.Widgets.Delegates
bg.Visible = false;
return true;
};
bg.GetWidget("BUTTON_NEXT").OnMouseUp = mi => {
Sound.MusicPaused = false;
bg.GetWidget("BUTTON_PLAY").Visible = false;
bg.GetWidget("BUTTON_PAUSE").Visible = true;
return true;
};
bg.GetWidget("BUTTON_PREV").OnMouseUp = mi => {
Sound.MusicPaused = false;
bg.GetWidget("BUTTON_PLAY").Visible = false;
bg.GetWidget("BUTTON_PAUSE").Visible = true;
return true;
};
}
}
}