Commit graph

37 commits

Author SHA1 Message Date
Marco Antognini e1380f182a Add new API for scancodes 2020-01-22 14:42:30 +01:00
Marco Antognini e122972832 Add new API for scancodes 2020-01-21 19:44:30 +01:00
Mario Liebisch a1d4bc80c2 Changed Doxygen single-line comment format
Single line comments starting with `///` are interpreted by
Microsoft Visual Studio as documentation containing XML code.

Therefore single line comments starting with `///<` unfortunately
cause a parsing error, as IntelliSense will assume the `<` is the
start of an XML tag. This is not the case, but unfortunately,
IntelliSense will still complain about the following space
character rather than displaying the raw string. This commit alters
all such comments to start with `//!<` instead, which prevents the
issue.

This fixes issue #1622.
2020-01-02 15:25:57 +01:00
EpicCoder 489482a630 Updated the copyright year to 2019 2019-01-08 08:53:33 +01:00
Maximilian Wagenbach 5d7843c58a Updated the copyright year to 2018. 2018-02-10 14:51:46 +01:00
Jure Slak 745b446440 Fixed typo in Event description. 2017-07-28 00:28:12 +02:00
Lukas Dürrenberger 113152673a Updated year in copyright notices to 2017. 2017-02-10 15:18:03 +01:00
Marco Antognini ac50bf8648 Update copyright dates
For futur references:

List and inspect © to be updated
$ egrep '2007-[0-9]{4}' -r examples/ tools/ src/ include/ license.txt

Update all ©
$ egrep --null -l '2007-[0-9]{4}' -r examples/ tools/ src/ include/ license.txt | xargs -0 -P4 sed -i '' -E 's/^(.*)2007-[0-9]{4}(.*)$/\12007-2016\2/'
2016-08-05 16:20:39 +02:00
binary1248 e80bf0ba92 Fix whitespace: Convert tabs to spaces and remove trailing whitespace. 2015-04-15 01:53:43 +02:00
Jan Haller 22c9674389 Combined separate horizontal/vertical mouse wheel event types
Instead of separate Event::MouseWheel{Vertical,Horizontal}Moved events, a single Event::MouseWheelScrolled event is used for all wheel-related events.
The new Mouse::Wheel enum is used to differentiate between mouse wheels.
2015-04-07 00:24:52 +02:00
binary1248 e17cc520d6 Implemented support for horizontal mouse wheel scrolling as well as high-precision scrolling on Windows and OS X. 2015-03-16 10:35:34 +01:00
Zachariah Brown 1de7644277 Updated copyright year and Laurent's email address 2015-03-02 13:41:54 -05:00
Lukas Dürrenberger 45810a1345 Fixed additional comments and documention spelling mistakes. 2014-11-18 01:02:07 +01:00
Stefan Schindler f24ca9a840 Source code changes.
* Changed newlines to \n.
* Removed whitespace before colons.
* Fixed several alignments.
2014-10-06 01:18:47 +02:00
Laurent Gomila 80431deef4 Reviewed the sensor API 2014-04-20 12:58:50 +02:00
Jonathan De Wachter 7daaaa649e Implemented sensor API 2014-04-20 12:58:13 +02:00
Laurent Gomila 2c409e5145 Added touch events and the sf::Touch class (and iOS implementation) 2014-04-20 12:56:53 +02:00
Jan Haller 12d81304e6 Updated copyright year to 2014 2014-02-06 20:08:26 +01:00
Laurent Gomila 4e8c144879 Updated the year in the copyright notice 2013-04-06 09:34:44 +02:00
Laurent Gomila ac9bda51ca Improved the API documentation of sf::Event (added the mapping between event types and members) 2012-05-24 15:56:51 +02:00
Laurent Gomila d592b2a7d1 Updated the copyright text 2012-03-13 18:37:34 +01:00
Laurent Gomila 14ac411542 Changed the naming convention for public member variables/functions and free functions (using lowerCase instead of UpperCase) 2012-03-11 19:10:37 +01:00
Laurent Gomila 9205942917 Minor fix in API documentation 2011-09-03 10:18:09 +02:00
Laurent Gomila 8621e45960 Implemented global inputs (sf::Keyboard, sf::Mouse, sf::Joystick) and removed the event-based sf::Input.
Window::WaitEvent now works with joystick events as well.
Added Event::JoystickConnected and Event::JoystickDisconnected.
Added Window::GetCursorPosition.
2011-07-04 08:21:40 +02:00
Laurent Gomila 2f9a47b463 Minor fixes in documentation related to joysticks 2011-05-06 14:03:15 +02:00
Laurent Gomila ede01df778 Added the sf::Event::KeyEvent::System member (implements feature #8) 2011-04-26 21:58:03 +02:00
Laurent Gomila df6874273a Renamed Window::GetEvent to PollEvent 2011-04-11 18:20:21 +02:00
LaurentGom 93d92ddb0d Increased the number of supported joysticks to 8
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1599 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-03 16:45:44 +00:00
LaurentGom 0444781a4b Improved tags for doxygen documentation (added relations between free functions and classes, grouped classes into modules)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1535 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-22 21:45:58 +00:00
LaurentGom 7b83fbc544 Merged all the joystick fixes from trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1343 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 09:04:59 +00:00
LaurentGom db72c6e47c Renamed Mouse::Count to Mouse::ButtonCount
Renamed Joy::Count to Joy::AxisCount
Added Joy::Count and Joy::ButtonCount

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1328 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 08:48:57 +00:00
LaurentGom 688a8f15da FS#131 - Add mouse position to the sf::Event::MouseWheelMoved event
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1249 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-27 15:56:16 +00:00
LaurentGom 39a8ba4c52 Updated documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1241 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-17 08:50:13 +00:00
LaurentGom 1f3d7b6d0c Updated documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1239 4e206d99-4929-0410-ac5d-dfc041789085
2009-10-15 08:37:32 +00:00
LaurentGom 3cfbc8409b Removed some privates files from the documentation
Added sf::Event::EventType::Count

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1200 4e206d99-4929-0410-ac5d-dfc041789085
2009-08-14 07:31:01 +00:00
laurentgom 19de148351 Updated copyright
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1085 4e206d99-4929-0410-ac5d-dfc041789085
2009-05-06 18:37:14 +00:00
laurentgom 2f524481c1 Added the trunk/branches/tags directories at repository root, and moved previous root into trunk/
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1002 4e206d99-4929-0410-ac5d-dfc041789085
2009-01-28 16:18:34 +00:00