- move buttons

- introduce mute button
master
Simon G 5 years ago
parent bd0d57dc4e
commit df05244c85
  1. 4
      Lib.Audio/Controls/Buttons/Button.cs
  2. 5
      Lib.Audio/Controls/Buttons/Factories/IButtonFactory.cs
  3. 2
      Lib.Audio/Controls/Buttons/Interfaces/IButton.cs
  4. 11
      Lib.Audio/Controls/Buttons/Interfaces/IMuteButton.cs
  5. 13
      Lib.Audio/Controls/Buttons/MuteButton.cs

@ -2,9 +2,9 @@
// Created: 2021-04-07
// Copyright(c) 2021 SimonG. All Rights Reserved.
using Lib.Audio.Controls.Interfaces;
using Lib.Audio.Controls.Buttons.Interfaces;
namespace Lib.Audio.Controls
namespace Lib.Audio.Controls.Buttons
{
public class Button : IButton
{

@ -2,12 +2,13 @@
// Created: 2021-04-08
// Copyright(c) 2021 SimonG. All Rights Reserved.
using Lib.Audio.Controls.Interfaces;
using Lib.Audio.Controls.Buttons.Interfaces;
namespace Lib.Audio.Controls.Factories
namespace Lib.Audio.Controls.Buttons.Factories
{
public interface IButtonFactory
{
IButton Create();
// IMuteButton Create();
}
}

@ -2,7 +2,7 @@
// Created: 2021-04-07
// Copyright(c) 2021 SimonG. All Rights Reserved.
namespace Lib.Audio.Controls.Interfaces
namespace Lib.Audio.Controls.Buttons.Interfaces
{
public interface IButton
{

@ -0,0 +1,11 @@
// Author: Gockner, Simon
// Created: 2021-04-08
// Copyright(c) 2021 SimonG. All Rights Reserved.
namespace Lib.Audio.Controls.Buttons.Interfaces
{
public interface IMuteButton : IButton
{
}
}

@ -0,0 +1,13 @@
// Author: Gockner, Simon
// Created: 2021-04-08
// Copyright(c) 2021 SimonG. All Rights Reserved.
using Lib.Audio.Controls.Buttons.Interfaces;
namespace Lib.Audio.Controls.Buttons
{
public class MuteButton : Button, IMuteButton
{
}
}
Loading…
Cancel
Save