mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Disconnect some more UI -> Model
This commit is contained in:
@@ -6,13 +6,31 @@ namespace RedBookPlayer.GUI
|
||||
{
|
||||
#region Player Status
|
||||
|
||||
private bool _playing;
|
||||
public bool Playing
|
||||
private bool? _playing;
|
||||
public bool? Playing
|
||||
{
|
||||
get => _playing;
|
||||
set => this.RaiseAndSetIfChanged(ref _playing, value);
|
||||
}
|
||||
|
||||
private int _volume;
|
||||
public int Volume
|
||||
{
|
||||
get => _volume;
|
||||
set => this.RaiseAndSetIfChanged(ref _volume, value);
|
||||
}
|
||||
|
||||
private bool _applyDeEmphasis;
|
||||
public bool ApplyDeEmphasis
|
||||
{
|
||||
get => _applyDeEmphasis;
|
||||
set => this.RaiseAndSetIfChanged(ref _applyDeEmphasis, value);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Model-Provided Playback Information
|
||||
|
||||
private ulong _currentSector;
|
||||
public ulong CurrentSector
|
||||
{
|
||||
@@ -35,20 +53,6 @@ namespace RedBookPlayer.GUI
|
||||
public int TotalSeconds => (int)(_totalSectors / 75 % 60);
|
||||
public int TotalMinutes => (int)(_totalSectors % 75);
|
||||
|
||||
private int _volume;
|
||||
public int Volume
|
||||
{
|
||||
get => _volume;
|
||||
set => this.RaiseAndSetIfChanged(ref _volume, value);
|
||||
}
|
||||
|
||||
private bool _applyDeEmphasis;
|
||||
public bool ApplyDeEmphasis
|
||||
{
|
||||
get => _applyDeEmphasis;
|
||||
set => this.RaiseAndSetIfChanged(ref _applyDeEmphasis, value);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Disc Flags
|
||||
|
||||
Reference in New Issue
Block a user