Implementation of notifications for Windows OS. #13

merged 1 commit into from May 18, 2013


None yet

2 participants

nurupo commented May 17, 2013

Basically, you can now show notifications on Windows.
There is a limit on notification title and message lengths; if title and message don't fit in WinApi limitations, they get truncated in order to fit.
Also, when users click on the notification, they get switched to the Wesnoth game window.

The notifications should work for Windows XP and higher. If support of Windows 98 and higher is desired, it can be done with few changes.

Note that this pull request introduces two new files that should be compiled on Windows platform only, which means that project files should be changed accordingly. I hope that someone who knows project files' markup will volunteer and modify them.

@loonycyborg loonycyborg merged commit 2fc7583 into wesnoth:master May 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment