Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Several visual changes to SongGridView to make it cleaner. N…
…o more grid lines except for each album. No more artist/album captions over album art. No more mouse over color change. A bit sad that I took a lot of amount of time to do these features a few years ago... to realize they are more noise than useful. But after these changes... I think my designer was right! Added a bit of logic to PlaylistPresenter. Related to issue #422.
- Loading branch information
1 parent
24977a0
commit 2d8d2c7
Showing
9 changed files
with
3,806 additions
and
4,305 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// MPfm is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using MPfm.Sound.AudioFiles; | ||
using MPfm.Sound.Playlists; | ||
|
||
namespace MPfm.MVP.Views | ||
{ | ||
/// <summary> | ||
/// Playlist view interface. | ||
/// </summary> | ||
public interface IPlaylistView : IBaseView | ||
{ | ||
// Note: These actions use the PlaylistItemId, not AudioFileId! | ||
Action<Guid, int> OnChangePlaylistItemOrder { get; set; } | ||
Action<Guid> OnSelectPlaylistItem { get; set; } | ||
Action<Guid> OnRemovePlaylistItem { get; set; } | ||
Action OnNewPlaylist { get; set; } | ||
Action<string> OnLoadPlaylist { get; set; } | ||
Action OnSavePlaylist { get; set; } | ||
Action OnShufflePlaylist { get; set; } | ||
|
||
void PlaylistError(Exception ex); | ||
void RefreshPlaylist(Playlist playlist); | ||
void RefreshCurrentlyPlayingSong(int index, AudioFile audioFile); | ||
} | ||
} | ||
// Copyright © 2011-2013 Yanick Castonguay | ||
// | ||
// This file is part of MPfm. | ||
// | ||
// MPfm is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// MPfm is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with MPfm. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using MPfm.Sound.AudioFiles; | ||
using MPfm.Sound.Playlists; | ||
|
||
namespace MPfm.MVP.Views | ||
{ | ||
/// <summary> | ||
/// Playlist view interface. | ||
/// </summary> | ||
public interface IPlaylistView : IBaseView | ||
{ | ||
// Note: These actions use the PlaylistItemId, not AudioFileId! | ||
Action<Guid, int> OnChangePlaylistItemOrder { get; set; } | ||
Action<Guid> OnSelectPlaylistItem { get; set; } | ||
Action<List<Guid>> OnRemovePlaylistItems { get; set; } | ||
Action OnNewPlaylist { get; set; } | ||
Action<string> OnLoadPlaylist { get; set; } | ||
Action OnSavePlaylist { get; set; } | ||
Action OnShufflePlaylist { get; set; } | ||
|
||
void PlaylistError(Exception ex); | ||
void RefreshPlaylist(Playlist playlist); | ||
void RefreshCurrentlyPlayingSong(int index, AudioFile audioFile); | ||
} | ||
} |
Oops, something went wrong.