Some improvements and a feature#186
Conversation
173ad1b to
c5f329f
Compare
| /// <summary> | ||
| /// Show a banner notification with the given data | ||
| /// </summary> | ||
| /// <param name="data"></param> |
| Angepasste akustische Benachrichtigung: Spielt einen selbst definierten Sound ab. | ||
| Popup Benachrichtigung: Spezielle Form eines Windows Pop-ups.</value> | ||
| Popup Benachrichtigung: Spezielle Form eines Windows Pop-ups. | ||
| Banner: Verwendet eine benutzerdefinierte Form immer auf der Oberseite, kann nützlich sein, in bestimmten für In-Game-Nutzung, weil es steht über directdraw / opengl.</value> |
There was a problem hiding this comment.
To be synced with English comment - don't use translators.
| Notif. Sonore Perso: Joue le son choisi | ||
| Notif. Toast: Popup sur le coté de l'écran dans Windows 10.</value> | ||
| Notif. Toast: Popup sur le coté de l'écran dans Windows 10. | ||
| Notif. Bannière: Utilise une forme personnalisée toujours en haut, peut être utile pour certaines utilisations dans le jeu, car elle se situe au-dessus de directdraw / opengl.</value> |
There was a problem hiding this comment.
To be synced with English comment - don't use translators.
| Customized Sound Notification: Plays the specified sound on the switched Playback Device. | ||
| Toast Notification: Uses a special form of the windows tray pop-up version.</value> | ||
| Toast Notification: Uses a special form of the windows tray pop-up version. | ||
| Banner: Uses a custom always-on-top form, may be useful for in-game usage because it stands above directdraw/opengl.</value> |
There was a problem hiding this comment.
" because it stands above directdraw/opengl" can be removed, the average gamer doesn't need this information.
Banner: Uses a custom always-on-top frame, useful for in-game usage.
|
|
||
| namespace SoundSwitch.Framework.NotificationManager | ||
| { | ||
| public enum NotificationCustomSoundEnum |
| { | ||
| var toastData = new BannerData | ||
| { | ||
| ImagePath = "file:///"+ApplicationPath.DefaultImagePath, |
|
|
||
| namespace SoundSwitch.Framework.Banner | ||
| { | ||
| public class BannerData |
| this.timerHide.Tick += TimerHide_Tick; | ||
| } | ||
| else | ||
| this.timerHide.Enabled = false; |
There was a problem hiding this comment.
Codestyle...
if (a == b)
{
Fly();
} else {
Die();
}| { | ||
| BannerManager.Setup(); | ||
|
|
||
| // Available is all Windows versions |
|
I completely agree with your appointments, I just was in a rush to complete this sharing… :) I've amended my last commit, please check if I missed something. |
…h stands above any directdraw/opengl windows.
|
Firstly congratulations 🎊 for your kid 😃
This looks great, I'll try it out ASAP and will surely release a beta version with it.
Thanks @FireEmerald for the review and thank you for the PR.
Sent from BlueMail
…On May 22, 2017, 17:06, at 17:06, ramon18 ***@***.***> wrote:
I completely agree with your appointments, I just was in a rush to
complete this sharing… :)
You know, two kinds, one of them has just 3 weeks ehh!
Most of the time, I do not take the time to share my work and therefore
no one else benefits from it.
I've amended my last commit, please check if I missed something.
Thanks
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#186 (comment)
|
|
I just reviewed the code and tried it. This is magical! I'm going to set it as the new default. |
ToDo: French translation is missing for: (@Belphemur) - SettingsStrings.fr, notificationTooltip. - UpdateDownloadStrings, notSigned.
|
@all-contributors please add @ramon18 for code |
|
I've put up a pull request to add @ramon18! 🎉 |
Hi,
I've made a few improvements and a new notification useful for gamers.
Cheers