From 332358f48acc9a1be0126b3c71cc08d7b06224af Mon Sep 17 00:00:00 2001 From: JoshuaNavarro Date: Mon, 24 Jun 2019 11:14:01 -0700 Subject: [PATCH] Added more hover text for add button to let users know if a conditional already exists for that song or not. --- .../Framework/Menus/MusicManagerMenuV2.cs | 154 +++++++++++++----- 1 file changed, 109 insertions(+), 45 deletions(-) diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenuV2.cs b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenuV2.cs index a8ccf7f3..d9fc2cf5 100644 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenuV2.cs +++ b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Framework/Menus/MusicManagerMenuV2.cs @@ -19,6 +19,15 @@ using StardustCore.UIUtilities.SpriteFonts; namespace StardewSymphonyRemastered.Framework.Menus { + /// + /// TODO: + /// Add in next page previous page buttons + /// Add in page (x of y) display text + /// Add in visual display to see what conditionals for that song have been selected. + /// -Add in way to delete options from this menu + /// Add in search box functionality for selecting albums + /// Add in search box functionality for song selection. + /// public class MusicManagerMenuV2 : IClickableMenuExtended { /// The different displays for this menu. @@ -99,9 +108,21 @@ namespace StardewSymphonyRemastered.Framework.Menus /// The delete button that clears all conditionals from a song. /// public Button deleteButton; + /// + /// The play button that plays the currently selected song. + /// public Button playButton; + /// + /// The play button that stops the currently selected song. + /// public Button stopButton; + /// + /// The back button to go to a previous menu page. + /// public Button backButton; + /// + /// The save button that saves the current options to the song. + /// public Button saveButton; private Vector2 seasonButtonPosition; @@ -113,6 +134,9 @@ namespace StardewSymphonyRemastered.Framework.Menus private Vector2 festivalButtonPosition; private Vector2 eventButtonPosition; + /// + /// The currently selected music pack album. + /// private MusicPackV2 CurrentMusicPack { get @@ -124,29 +148,58 @@ namespace StardewSymphonyRemastered.Framework.Menus } } } - - - public bool selectedJustLocation; - + /// + /// The current draw mode to determine what menu components to display and when. + /// public DrawMode drawMode; + /// + /// The current index for the album selection page. + /// public int currentAlbumIndex; + /// + /// The current page index for the song selection page. + /// public int currentSongPageIndex; + /// + /// The current page index for the location selection page. + /// public int locationPageIndex; + /// + /// The current page index for the festival selection page. + /// public int festivalPageIndex; + /// + /// The current page index for the event selection page. + /// public int eventPageIndex; + /// + /// The current page index for the menu selection page. + /// public int menuPageIndex; + /// + /// The current page index for the time of day page. + /// public int timePageIndex; - - public List