-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boost(notification): Added Top Center/Bottom Center to Banner Positio…
…ns (#1347) * feat(notification): Banner positions * Update SoundSwitch/Framework/Banner/BannerForm.cs Co-authored-by: Antoine Aflalo <Belphemur@users.noreply.github.com> * fix(notification): added Top Center and Bottom Center to Banner Positions. --------- Co-authored-by: Antoine Aflalo <Belphemur@users.noreply.github.com>
- Loading branch information
1 parent
40892fe
commit 1566fc9
Showing
7 changed files
with
82 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
24 changes: 24 additions & 0 deletions
24
SoundSwitch/Framework/Banner/Position/PositionBottomCenter.cs
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/******************************************************************** | ||
* Copyright (C) 2015-2017 Antoine Aflalo | ||
* | ||
* This program 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 2 | ||
* of the License, or (at your option) any later version. | ||
* | ||
* This program 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. | ||
********************************************************************/ | ||
|
||
using SoundSwitch.Localization; | ||
|
||
namespace SoundSwitch.Framework.Banner.Position | ||
{ | ||
internal class PositionBottomCenter : IPosition | ||
{ | ||
public BannerPositionEnum TypeEnum => BannerPositionEnum.BottomCenter; | ||
public string Label => SettingsStrings.positionOptionBottomCenter; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
SoundSwitch/Framework/Banner/Position/PositionTopCenter.cs
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/******************************************************************** | ||
* Copyright (C) 2015-2017 Antoine Aflalo | ||
* | ||
* This program 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 2 | ||
* of the License, or (at your option) any later version. | ||
* | ||
* This program 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. | ||
********************************************************************/ | ||
|
||
using SoundSwitch.Localization; | ||
|
||
namespace SoundSwitch.Framework.Banner.Position | ||
{ | ||
internal class PositionTopCenter : IPosition | ||
{ | ||
public BannerPositionEnum TypeEnum => BannerPositionEnum.TopCenter; | ||
public string Label => SettingsStrings.positionOptionTopCenter; | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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